[U-Boot] [PATCH] board/amcc/yucca/flash.c: Fix compile warning

Wolfgang Denk wd at denx.de
Tue Sep 15 00:29:21 CEST 2009


In message <1252662563-18284-6-git-send-email-wd at denx.de> you wrote:
> Fix warning: flash.c:919: warning: dereferencing type-punned pointer
> will break strict-aliasing rules
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> ---
>  board/amcc/yucca/flash.c |    7 ++++---
>  1 files changed, 4 insertions(+), 3 deletions(-)

Applied.

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Do not underestimate the value of print statements for debugging.


More information about the U-Boot mailing list