mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
ucc_geth_ethtool: Fix typo
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
11a3a1546d
commit
25f03dcf63
@ -308,7 +308,7 @@ static void uec_get_strings(struct net_device *netdev, u32 stringset, u8 *buf)
|
|||||||
buf += UEC_TX_FW_STATS_LEN * ETH_GSTRING_LEN;
|
buf += UEC_TX_FW_STATS_LEN * ETH_GSTRING_LEN;
|
||||||
}
|
}
|
||||||
if (stats_mode & UCC_GETH_STATISTICS_GATHERING_MODE_FIRMWARE_RX)
|
if (stats_mode & UCC_GETH_STATISTICS_GATHERING_MODE_FIRMWARE_RX)
|
||||||
memcpy(buf, tx_fw_stat_gstrings, UEC_RX_FW_STATS_LEN *
|
memcpy(buf, rx_fw_stat_gstrings, UEC_RX_FW_STATS_LEN *
|
||||||
ETH_GSTRING_LEN);
|
ETH_GSTRING_LEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user