Skip to content

Commit

Permalink
amd-xgbe: Use the u32 data type for descriptors
Browse files Browse the repository at this point in the history
The Tx and Rx descriptors are unsigned 32 bit values.  Use the u32
type, rather than unsigned int, to map these descriptors.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Lendacky, Thomas authored and David S. Miller committed Nov 6, 2014
1 parent a9d4198 commit aa96bd3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/ethernet/amd/xgbe/xgbe.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ struct xgbe_packet_data {

/* Common Rx and Tx descriptor mapping */
struct xgbe_ring_desc {
unsigned int desc0;
unsigned int desc1;
unsigned int desc2;
unsigned int desc3;
u32 desc0;
u32 desc1;
u32 desc2;
u32 desc3;
};

/* Structure used to hold information related to the descriptor
Expand Down

0 comments on commit aa96bd3

Please sign in to comment.