* [PATCH] net: mvneta: correct typo
@ 2018-11-09 16:37 Alexandre Belloni
2018-11-10 4:10 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Belloni @ 2018-11-09 16:37 UTC (permalink / raw)
To: David S. Miller, Thomas Petazzoni
Cc: Maxime Chevallier, netdev, linux-kernel, Alexandre Belloni
The reserved variable should be named reserved1.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
drivers/net/ethernet/marvell/mvneta.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c
index 5bfd349bf41a..3ba672e9e353 100644
--- a/drivers/net/ethernet/marvell/mvneta.c
+++ b/drivers/net/ethernet/marvell/mvneta.c
@@ -494,7 +494,7 @@ struct mvneta_port {
#if defined(__LITTLE_ENDIAN)
struct mvneta_tx_desc {
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 */
u32 buf_phys_addr; /* Physical addr of transmitted buffer */
u32 reserved2; /* hw_cmd - (for future use, PMT) */
@@ -519,7 +519,7 @@ struct mvneta_rx_desc {
#else
struct mvneta_tx_desc {
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 reserved2; /* hw_cmd - (for future use, PMT) */
u32 buf_phys_addr; /* Physical addr of transmitted buffer */
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: mvneta: correct typo
2018-11-09 16:37 [PATCH] net: mvneta: correct typo Alexandre Belloni
@ 2018-11-10 4:10 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-11-10 4:10 UTC (permalink / raw)
To: alexandre.belloni
Cc: thomas.petazzoni, maxime.chevallier, netdev, linux-kernel
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: Fri, 9 Nov 2018 17:37:20 +0100
> The reserved variable should be named reserved1.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-10 6:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-09 16:37 [PATCH] net: mvneta: correct typo Alexandre Belloni
2018-11-10 4:10 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).