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

Wolfgang Denk wd at denx.de
Fri Sep 18 23:24:22 CEST 2009


In message <1252966161-14156-1-git-send-email-wd at 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 at denx.de>
> Cc: Kári Davíðsson <kd at 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


More information about the U-Boot mailing list