aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb4
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-07-07 12:11:25 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-08 01:41:05 -0400
commitf5152c908a5b0be48ec9a58d0de8bdadd9385854 (patch)
treea8421a8035295201ce0aec04f2cf70e85f1ad12d /drivers/net/cxgb4
parent3e9e0b8364dfb741a06ea40d8fad7f954a291339 (diff)
cxgb4: fix for new ndo_get_stats64 signature
The change to ndo_get_stats64 in "net: fix 64 bit counters on 32 bit arches" missed cxgb4. Fix it. Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4')
-rw-r--r--drivers/net/cxgb4/cxgb4_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c
index 55a720e4abdc..26199979290d 100644
--- a/drivers/net/cxgb4/cxgb4_main.c
+++ b/drivers/net/cxgb4/cxgb4_main.c
@@ -2601,12 +2601,12 @@ static int cxgb_close(struct net_device *dev)
2601 return t4_enable_vi(adapter, 0, pi->viid, false, false); 2601 return t4_enable_vi(adapter, 0, pi->viid, false, false);
2602} 2602}
2603 2603
2604static struct rtnl_link_stats64 *cxgb_get_stats(struct net_device *dev) 2604static struct rtnl_link_stats64 *cxgb_get_stats(struct net_device *dev,
2605 struct rtnl_link_stats64 *ns)
2605{ 2606{
2606 struct port_stats stats; 2607 struct port_stats stats;
2607 struct port_info *p = netdev_priv(dev); 2608 struct port_info *p = netdev_priv(dev);
2608 struct adapter *adapter = p->adapter; 2609 struct adapter *adapter = p->adapter;
2609 struct rtnl_link_stats64 *ns = &dev->stats64;
2610 2610
2611 spin_lock(&adapter->stats_lock); 2611 spin_lock(&adapter->stats_lock);
2612 t4_get_port_stats(adapter, p->tx_chan, &stats); 2612 t4_get_port_stats(adapter, p->tx_chan, &stats);