Skip to content

Commit f37119c

Browse files
hayesorzdavem330
authored andcommitted
r8152: rename tx_underun
Replace tx_underun with tx_underrun for checkpatch.pl. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent dca145f commit f37119c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/usb/r8152.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ struct tally_counter {
486486
__le64 rx_broadcast;
487487
__le32 rx_multicast;
488488
__le16 tx_aborted;
489-
__le16 tx_underun;
489+
__le16 tx_underrun;
490490
};
491491

492492
struct rx_desc {
@@ -3420,7 +3420,7 @@ static void rtl8152_get_ethtool_stats(struct net_device *dev,
34203420
data[9] = le64_to_cpu(tally.rx_broadcast);
34213421
data[10] = le32_to_cpu(tally.rx_multicast);
34223422
data[11] = le16_to_cpu(tally.tx_aborted);
3423-
data[12] = le16_to_cpu(tally.tx_underun);
3423+
data[12] = le16_to_cpu(tally.tx_underrun);
34243424
}
34253425

34263426
static void rtl8152_get_strings(struct net_device *dev, u32 stringset, u8 *data)

0 commit comments

Comments
 (0)