aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mv643xx_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r--drivers/net/mv643xx_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index eeab1df5bef3..70fe838872db 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -2723,7 +2723,7 @@ static void mv643xx_get_ethtool_stats(struct net_device *netdev,
2723 eth_update_mib_counters(mp); 2723 eth_update_mib_counters(mp);
2724 2724
2725 for (i = 0; i < MV643XX_STATS_LEN; i++) { 2725 for (i = 0; i < MV643XX_STATS_LEN; i++) {
2726 char *p = (char *)mp+mv643xx_gstrings_stats[i].stat_offset; 2726 char *p = (char *)mp+mv643xx_gstrings_stats[i].stat_offset;
2727 data[i] = (mv643xx_gstrings_stats[i].sizeof_stat == 2727 data[i] = (mv643xx_gstrings_stats[i].sizeof_stat ==
2728 sizeof(uint64_t)) ? *(uint64_t *)p : *(uint32_t *)p; 2728 sizeof(uint64_t)) ? *(uint64_t *)p : *(uint32_t *)p;
2729 } 2729 }