]> git.sur5r.net Git - u-boot/commit
drivers/net/e1000.c: Fix GCC 4.6 build warnings
authorAnatolij Gustschin <agust@denx.de>
Tue, 20 Dec 2011 07:36:39 +0000 (07:36 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 20 Dec 2011 22:21:03 +0000 (23:21 +0100)
commit40867a2fe1a1b079269db19e58444213132f6799
treeb5eb4d3204d029c439bb1ae0d77ee196d4601bc2
parent821315fe2f4f571e472edf1952005f75b0499823
drivers/net/e1000.c: Fix GCC 4.6 build warnings

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@denx.de>
Cc: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Acked-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
drivers/net/e1000.c