]> git.karo-electronics.de Git - linux-beck.git/commitdiff
r8152: rename tx_underun
authorhayeswang <hayeswang@realtek.com>
Tue, 28 Oct 2014 06:05:51 +0000 (14:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Oct 2014 19:09:08 +0000 (15:09 -0400)
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>
drivers/net/usb/r8152.c

index e3d84c322e4ec2589d496ad9a6355bd14e08da31..fdea19412cdb20f220e64283e2fd338a3b817cf1 100644 (file)
@@ -486,7 +486,7 @@ struct tally_counter {
        __le64  rx_broadcast;
        __le32  rx_multicast;
        __le16  tx_aborted;
-       __le16  tx_underun;
+       __le16  tx_underrun;
 };
 
 struct rx_desc {
@@ -3420,7 +3420,7 @@ static void rtl8152_get_ethtool_stats(struct net_device *dev,
        data[9] = le64_to_cpu(tally.rx_broadcast);
        data[10] = le32_to_cpu(tally.rx_multicast);
        data[11] = le16_to_cpu(tally.tx_aborted);
-       data[12] = le16_to_cpu(tally.tx_underun);
+       data[12] = le16_to_cpu(tally.tx_underrun);
 }
 
 static void rtl8152_get_strings(struct net_device *dev, u32 stringset, u8 *data)