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

Stefan Roese sr at denx.de
Fri Sep 11 15:07:42 CEST 2009


On Friday 11 September 2009 11:49:22 Wolfgang Denk wrote:
> Fix warnings:
> flash.c: In function 'write_word_1':
> flash.c:696: warning: dereferencing type-punned pointer will break
>  strict-aliasing rules flash.c: In function 'write_word_2':
> flash.c:1044: 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>

Acked-by: Stefan Roese <sr at denx.de>

Thanks.
Cheers,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de


More information about the U-Boot mailing list