Commit fbd1d524 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by David S. Miller

net: mvneta: correct typo

The reserved variable should be named reserved1.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 62230715
...@@ -494,7 +494,7 @@ struct mvneta_port { ...@@ -494,7 +494,7 @@ struct mvneta_port {
#if defined(__LITTLE_ENDIAN) #if defined(__LITTLE_ENDIAN)
struct mvneta_tx_desc { struct mvneta_tx_desc {
u32 command; /* Options used by HW for packet transmitting.*/ u32 command; /* Options used by HW for packet transmitting.*/
u16 reserverd1; /* csum_l4 (for future use) */ u16 reserved1; /* csum_l4 (for future use) */
u16 data_size; /* Data size of transmitted packet in bytes */ u16 data_size; /* Data size of transmitted packet in bytes */
u32 buf_phys_addr; /* Physical addr of transmitted buffer */ u32 buf_phys_addr; /* Physical addr of transmitted buffer */
u32 reserved2; /* hw_cmd - (for future use, PMT) */ u32 reserved2; /* hw_cmd - (for future use, PMT) */
...@@ -519,7 +519,7 @@ struct mvneta_rx_desc { ...@@ -519,7 +519,7 @@ struct mvneta_rx_desc {
#else #else
struct mvneta_tx_desc { struct mvneta_tx_desc {
u16 data_size; /* Data size of transmitted packet in bytes */ u16 data_size; /* Data size of transmitted packet in bytes */
u16 reserverd1; /* csum_l4 (for future use) */ u16 reserved1; /* csum_l4 (for future use) */
u32 command; /* Options used by HW for packet transmitting.*/ u32 command; /* Options used by HW for packet transmitting.*/
u32 reserved2; /* hw_cmd - (for future use, PMT) */ u32 reserved2; /* hw_cmd - (for future use, PMT) */
u32 buf_phys_addr; /* Physical addr of transmitted buffer */ u32 buf_phys_addr; /* Physical addr of transmitted buffer */
......
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