9d0992fcbb2e775096bec592545a1df544c9e81e
[openwrt/staging/svanheule.git] /
1 From 8df9439389a44fb2cc4ef695e08d6a8870b1616c Mon Sep 17 00:00:00 2001
2 From: Colin Ian King <colin.i.king@gmail.com>
3 Date: Mon, 9 Sep 2024 15:00:21 +0100
4 Subject: [PATCH 44/47] r8169: Fix spelling mistake: "tx_underun" ->
5 "tx_underrun"
6
7 There is a spelling mistake in the struct field tx_underun, rename
8 it to tx_underrun.
9
10 Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
11 Reviewed-by: Simon Horman <horms@kernel.org>
12 Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
13 Link: https://patch.msgid.link/20240909140021.64884-1-colin.i.king@gmail.com
14 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
15 ---
16 drivers/net/ethernet/realtek/r8169_main.c | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19 --- a/drivers/net/ethernet/realtek/r8169_main.c
20 +++ b/drivers/net/ethernet/realtek/r8169_main.c
21 @@ -578,7 +578,7 @@ struct rtl8169_counters {
22 __le64 rx_broadcast;
23 __le32 rx_multicast;
24 __le16 tx_aborted;
25 - __le16 tx_underun;
26 + __le16 tx_underrun;
27 };
28
29 struct rtl8169_tc_offsets {
30 @@ -1843,7 +1843,7 @@ static void rtl8169_get_ethtool_stats(st
31 data[9] = le64_to_cpu(counters->rx_broadcast);
32 data[10] = le32_to_cpu(counters->rx_multicast);
33 data[11] = le16_to_cpu(counters->tx_aborted);
34 - data[12] = le16_to_cpu(counters->tx_underun);
35 + data[12] = le16_to_cpu(counters->tx_underrun);
36 }
37
38 static void rtl8169_get_strings(struct net_device *dev, u32 stringset, u8 *data)