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

Wolfgang Denk wd at denx.de
Tue Sep 15 00:30:44 CEST 2009


In message <1252662563-18284-2-git-send-email-wd at denx.de> you wrote:
> Fix warning: ../common/flash.c:917: 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/common/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
In the beginning there was nothing.
And the Lord said "Let There Be Light!"
And still there was nothing, but at least now you could see it.


More information about the U-Boot mailing list