rtase: Fix spelling mistake: "tx_underun" -> "tx_underrun"
Subsystems (4)
PATCH 1/1 rtase: Fix spelling mistake: "tx_underun" -> "tx_underrun"
There is a spelling mistake in the struct field tx_underun, rename it to tx_underrun.
Signed-off-by Colin Ian King <[email protected]>
--- drivers/net/ethernet/realtek/rtase/rtase_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/ethernet/realtek/rtase/rtase_main.c +3 -3
@@ -98,7 +98,7 @@ struct rtase_counters {__le64 rx_broadcast;__le32 rx_multicast;__le16 tx_aborted; -__le16 tx_underun; +__le16 tx_underrun; } __packed;static void rtase_w8 (const struct rtase_private *tp,u16 reg,u8 val8)
@@ -1619,8 +1619,8 @@ static void rtase_dump_state(const struct net_device *dev) le32_to_cpu(counters->rx_multicast));netdev_err (dev,"tx_aborted %d\n" ,le16_to_cpu (counters->tx_aborted)); -netdev_err (dev,"tx_underun %d\n" , -le16_to_cpu (counters->tx_underun)); +netdev_err (dev,"tx_underrun %d\n" , +le16_to_cpu (counters->tx_underrun)); }static void rtase_tx_timeout (struct net_device *dev,unsigned int txqueue)
Signature · 1 line
2.39.2
Quoted 4 lines · Colin Ian King
There is a spelling mistake in the struct field
tx_underun, rename it totx_underrun.Signed-off-by Colin Ian King <[email protected]>
Thanks Colin,
I've confirmed that this addresses all instances of this problem in this driver. Thanks for also sending a patch for the same problem in the r8169 driver [1].
Reviewed-by Simon Horman <[email protected]>
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Mon, 9 Sep 2024 14:46:12 +0100 you wrote:
There is a spelling mistake in the struct field
tx_underun, rename it totx_underrun.Signed-off-by Colin Ian King <[email protected]>--- drivers/net/ethernet/realtek/rtase/rtase_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Here is the summary with links:
- [next] rtase: Fix spelling mistake: "tx_underun" -> "tx_underrun"
https://git.kernel.org/netdev/net-next/c/d59239f8a400
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html