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

Anatolij Gustschin agust at denx.de
Tue Mar 27 15:42:54 CEST 2012


Hello Jason,

On Mon,  5 Mar 2012 12:12:28 -0600
"Jason Hobbs" <jason.hobbs at calxeda.com> 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(-)

Applied to u-boot-staging/agust at denx.de, thanks!

Anatolij


More information about the U-Boot mailing list