Skip to content

Commit 66c0317

Browse files
Colin Ian Kingdavem330
authored andcommitted
net: atheros: fix spelling mistake "underun" -> "underrun"
There are spelling mistakes in structure elements, fix these. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent d048305 commit 66c0317

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

drivers/net/ethernet/atheros/atlx/atl1.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,7 @@ static void atl1_inc_smb(struct atl1_adapter *adapter)
17211721
adapter->soft_stats.scc += smb->tx_1_col;
17221722
adapter->soft_stats.mcc += smb->tx_2_col;
17231723
adapter->soft_stats.latecol += smb->tx_late_col;
1724-
adapter->soft_stats.tx_underun += smb->tx_underrun;
1724+
adapter->soft_stats.tx_underrun += smb->tx_underrun;
17251725
adapter->soft_stats.tx_trunc += smb->tx_trunc;
17261726
adapter->soft_stats.tx_pause += smb->tx_pause;
17271727

@@ -3179,7 +3179,7 @@ static struct atl1_stats atl1_gstrings_stats[] = {
31793179
{"tx_deferred_ok", ATL1_STAT(soft_stats.deffer)},
31803180
{"tx_single_coll_ok", ATL1_STAT(soft_stats.scc)},
31813181
{"tx_multi_coll_ok", ATL1_STAT(soft_stats.mcc)},
3182-
{"tx_underun", ATL1_STAT(soft_stats.tx_underun)},
3182+
{"tx_underrun", ATL1_STAT(soft_stats.tx_underrun)},
31833183
{"tx_trunc", ATL1_STAT(soft_stats.tx_trunc)},
31843184
{"tx_pause", ATL1_STAT(soft_stats.tx_pause)},
31853185
{"rx_pause", ATL1_STAT(soft_stats.rx_pause)},

drivers/net/ethernet/atheros/atlx/atl1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ struct atl1_sft_stats {
681681
u64 scc; /* packets TX after a single collision */
682682
u64 mcc; /* packets TX after multiple collisions */
683683
u64 latecol; /* TX packets w/ late collisions */
684-
u64 tx_underun; /* TX packets aborted due to TX FIFO underrun
684+
u64 tx_underrun; /* TX packets aborted due to TX FIFO underrun
685685
* or TRD FIFO underrun */
686686
u64 tx_trunc; /* TX packets truncated due to size > MTU */
687687
u64 rx_pause; /* num Pause packets received. */

drivers/net/ethernet/atheros/atlx/atl2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ static void atl2_intr_tx(struct atl2_adapter *adapter)
553553
netdev->stats.tx_aborted_errors++;
554554
if (txs->late_col)
555555
netdev->stats.tx_window_errors++;
556-
if (txs->underun)
556+
if (txs->underrun)
557557
netdev->stats.tx_fifo_errors++;
558558
} while (1);
559559

drivers/net/ethernet/atheros/atlx/atl2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ struct tx_pkt_status {
260260
unsigned multi_col:1;
261261
unsigned late_col:1;
262262
unsigned abort_col:1;
263-
unsigned underun:1; /* current packet is aborted
263+
unsigned underrun:1; /* current packet is aborted
264264
* due to txram underrun */
265265
unsigned:3; /* reserved */
266266
unsigned update:1; /* always 1'b1 in tx_status_buf */

0 commit comments

Comments
 (0)