[U-Boot] [PATCH 1/2] PPC 74xx_7xx: Fix build warnings for ELPPC board

Wolfgang Denk wd at denx.de
Thu Jun 27 08:20:33 CEST 2013


Dear Wolfgang Denk,

In message <1371198044-3456-1-git-send-email-wd at denx.de> you wrote:
> Fix:
> 
> misc.c: In function 'misc_init_r':
> misc.c:210:3: warning: dereferencing type-punned pointer will break
> strict-aliasing rules [-Wstrict-aliasing]
> misc.c:211:3: warning: dereferencing type-punned pointer will break
> strict-aliasing rules [-Wstrict-aliasing]
> misc.c:212:3: warning: dereferencing type-punned pointer will break
> strict-aliasing rules [-Wstrict-aliasing]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/eltec/elppc/misc.c | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)

Applied, thanks.

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
PUBLIC NOTICE AS REQUIRED BY LAW:  Any Use of This  Product,  in  Any
Manner  Whatsoever,  Will  Increase  the  Amount  of  Disorder in the
Universe. Although No Liability Is Implied Herein,  the  Consumer  Is
Warned  That  This  Process Will Ultimately Lead to the Heat Death of
the Universe.


More information about the U-Boot mailing list