Staging: Merge staging-next into Linus's tree
[sfrench/cifs-2.6.git] / drivers / net / sfc / ethtool.c
index 3b8b0a062749fa465e839d670fed6a113452fe15..fd19d6ab97a256259db66636f2856bc3bf8ebe26 100644 (file)
@@ -469,12 +469,13 @@ static void efx_ethtool_get_stats(struct net_device *net_dev,
        struct efx_mac_stats *mac_stats = &efx->mac_stats;
        struct efx_ethtool_stat *stat;
        struct efx_channel *channel;
+       struct rtnl_link_stats64 temp;
        int i;
 
        EFX_BUG_ON_PARANOID(stats->n_stats != EFX_ETHTOOL_NUM_STATS);
 
        /* Update MAC and NIC statistics */
-       dev_get_stats(net_dev);
+       dev_get_stats(net_dev, &temp);
 
        /* Fill detailed statistics buffer */
        for (i = 0; i < EFX_ETHTOOL_NUM_STATS; i++) {