[U-Boot] [PATCH 12/18] GCC4.6: Squash warnings in smsc95xx.c

Wolfgang Denk wd at denx.de
Fri Oct 28 00:00:28 CEST 2011


Dear Marek Vasut,

In message <1319535604-20831-13-git-send-email-marek.vasut at gmail.com> you wrote:
> smsc95xx.c: In function 'smsc95xx_write_hwaddr':
> smsc95xx.c:380:2: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Wolfgang Denk <wd at denx.de>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Mike Frysinger <vapier at gentoo.org>
> ---
>  drivers/usb/eth/smsc95xx.c |    2 +-
>  1 files changed, 1 insertions(+), 1 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
grep me no patterns and I'll tell you no lines.


More information about the U-Boot mailing list