Commit aa96bd3c authored by Lendacky, Thomas's avatar Lendacky, Thomas Committed by David S. Miller

amd-xgbe: Use the u32 data type for descriptors

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: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a9d41981
...@@ -234,10 +234,10 @@ struct xgbe_packet_data { ...@@ -234,10 +234,10 @@ struct xgbe_packet_data {
/* Common Rx and Tx descriptor mapping */ /* Common Rx and Tx descriptor mapping */
struct xgbe_ring_desc { struct xgbe_ring_desc {
unsigned int desc0; u32 desc0;
unsigned int desc1; u32 desc1;
unsigned int desc2; u32 desc2;
unsigned int desc3; u32 desc3;
}; };
/* Structure used to hold information related to the descriptor /* Structure used to hold information related to the descriptor
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment