[U-Boot] [PATCH v2] drivers/net/e1000.c: Fix GCC 4.6 build warnings

Moffett, Kyle D Kyle.D.Moffett at boeing.com
Tue Dec 20 18:44:01 CET 2011


On Dec 20, 2011, at 12:36, Anatolij Gustschin wrote:
> Fix:
> e1000.c: In function 'e1000_read_mac_addr':
> e1000.c:1149:2: warning: dereferencing type-punned pointer
> will break strict-aliasing rules [-Wstrict-aliasing]
> 
> e1000.c:1149:2: warning: dereferencing type-punned pointer
> will break strict-aliasing rules [-Wstrict-aliasing]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Kyle Moffett <Kyle.D.Moffett at boeing.com>

Looks great, thanks!

Acked-by: Kyle Moffett <Kyle.D.Moffett at boeing.com>

Cheers,
Kyle Moffett

--
Curious about my work on the Debian powerpcspe port?
I'm keeping a blog here: http://pureperl.blogspot.com/



More information about the U-Boot mailing list