Skip to content

Commit d59239f

Browse files
ColinIanKingkuba-moo
authored andcommitted
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]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 8df9439 commit d59239f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/net/ethernet/realtek/rtase/rtase_main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ struct rtase_counters {
9898
__le64 rx_broadcast;
9999
__le32 rx_multicast;
100100
__le16 tx_aborted;
101-
__le16 tx_underun;
101+
__le16 tx_underrun;
102102
} __packed;
103103

104104
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)
16191619
le32_to_cpu(counters->rx_multicast));
16201620
netdev_err(dev, "tx_aborted %d\n",
16211621
le16_to_cpu(counters->tx_aborted));
1622-
netdev_err(dev, "tx_underun %d\n",
1623-
le16_to_cpu(counters->tx_underun));
1622+
netdev_err(dev, "tx_underrun %d\n",
1623+
le16_to_cpu(counters->tx_underrun));
16241624
}
16251625

16261626
static void rtase_tx_timeout(struct net_device *dev, unsigned int txqueue)

0 commit comments

Comments
 (0)