r8169: Fix spelling mistake: "tx_underun" -> "tx_underrun"
PATCH 1/1 r8169: 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/r8169_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/realtek/r8169_main.c +2 -2
@@ -578,7 +578,7 @@ struct rtl8169_counters {__le64 rx_broadcast;__le32 rx_multicast;__le16 tx_aborted; -__le16 tx_underun; +__le16 tx_underrun; };struct rtl8169_tc_offsets {
@@ -1843,7 +1843,7 @@ static void rtl8169_get_ethtool_stats(struct net_device *dev, data[9 ] =le64_to_cpu (counters->rx_broadcast); data[10 ] =le32_to_cpu (counters->rx_multicast); data[11 ] =le16_to_cpu (counters->tx_aborted); - data[12 ] =le16_to_cpu (counters->tx_underun); + data[12 ] =le16_to_cpu (counters->tx_underrun); }static void rtl8169_get_strings (struct net_device *dev,u32 stringset,u8 *data)
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.
Reviewed-by Simon Horman <[email protected]>
Quoted 8 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]>--- drivers/net/ethernet/realtek/r8169_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Heiner Kallweit <[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 15:00:21 +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/r8169_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
- [next] r8169: Fix spelling mistake: "tx_underun" -> "tx_underrun"
https://git.kernel.org/netdev/net-next/c/8df9439389a4
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html