amd-xgbe: Fix sparse endian warnings
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 12 Nov 2014 16:37:49 +0000 (10:37 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2014 20:10:23 +0000 (15:10 -0500)
commit5226cfc500022104d92813ee218608e80f56ead6
tree280d6f215468682909825d548bd9961bf46beb2f
parent824ab78215c51429a2b0e17356a00a59e4e91a9a
amd-xgbe: Fix sparse endian warnings

Change the types of the descriptor entries in the xgbe_ring_desc struct
from u32 to __le32 to fix endian warnings issued by sparse.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe.h