drivers/net/mvgbe.c: Fix GCC 4.6 warnings
authorAnatolij Gustschin <agust@denx.de>
Sat, 19 Nov 2011 08:59:36 +0000 (08:59 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 5 Dec 2011 22:04:17 +0000 (23:04 +0100)
commite6e556c16b7a6db9d78b8765dee05ce9ed7537f0
treed9e41c2f263d560475fc7f8c8f9aae68671079ac
parent7813ca9b66509b1d6d8e04d49a10f51e9c9632a4
drivers/net/mvgbe.c: Fix GCC 4.6 warnings

Fix:
mvgbe.c: In function 'mvgbe_send':
mvgbe.c:555:2: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
mvgbe.c: In function 'mvgbe_recv':
mvgbe.c:640:2: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
Acked-By: Prafulla Wadaskar <prafulla@marvell.com>
drivers/net/mvgbe.c