diff options
Diffstat (limited to 'drivers/net/vmxnet3/vmxnet3_ethtool.c')
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_ethtool.c b/drivers/net/vmxnet3/vmxnet3_ethtool.c index 587a218b2345..8c9fa4b41d78 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethtool.c +++ b/drivers/net/vmxnet3/vmxnet3_ethtool.c | |||
@@ -207,7 +207,7 @@ vmxnet3_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) | |||
207 | sizeof(drvinfo->version)); | 207 | sizeof(drvinfo->version)); |
208 | 208 | ||
209 | strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), | 209 | strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), |
210 | ETHTOOL_BUSINFO_LEN); | 210 | sizeof(drvinfo->bus_info)); |
211 | drvinfo->n_stats = vmxnet3_get_sset_count(netdev, ETH_SS_STATS); | 211 | drvinfo->n_stats = vmxnet3_get_sset_count(netdev, ETH_SS_STATS); |
212 | drvinfo->testinfo_len = 0; | 212 | drvinfo->testinfo_len = 0; |
213 | drvinfo->eedump_len = 0; | 213 | drvinfo->eedump_len = 0; |