[U-Boot] [PATCH] cmd_pxe.c: fix strict-aliasing warnings

Heiko Schocher hs at denx.de
Wed Mar 7 10:17:53 CET 2012


Hallo Jason,

Jason Hobbs wrote:
> Without this patch, some versions of gcc (at least ELDK 4.2) complain
> about dereferencing type-punned pointers.
> 
> Reported-by: Marek Vasut <marex at denx.de>
> Signed-off-by: Jason Hobbs <jason.hobbs at calxeda.com>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Marek Vasut <marex at denx.de>
> ---
>  common/cmd_pxe.c |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)

Thanks!

Acked-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list