[U-Boot] [PATCH v2] board/flagadm/flash.c: fix compile warning

Wolfgang Denk
2009-09-18T21:24:22Z

In message <1252966161-14156-1-git-send-email-wd@denx.de> you wrote:
> Fix warning: flash.c:531: warning: dereferencing type-punned pointer
> will break strict-aliasing rules
>
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: K?ri Dav??sson <kd@flaga.is>
> ---
> v2: change implementation as suggested by Scott Wood in
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/67828/focus=67900
>
> board/flagadm/flash.c | 12 +++++++++---
> 1 files changed, 9 insertions(+), 3 deletions(-)

Applied.

Best regards,

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
This cultural mystique surrounding the biological function -- you
realize humans are overly preoccupied with the subject.
-- Kelinda the Kelvan, "By Any Other Name", stardate 4658.9