cxgb4: fix for new ndo_get_stats64 signature
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/net/cxgb4/cxgb4_main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/cxgb4/cxgb4_main.c +2 -2
@@ -2601,12 +2601,12 @@ static int cxgb_close(struct net_device *dev)return t4_enable_vi (adapter,0 , pi->viid, false, false); } -static struct rtnl_link_stats64 *cxgb_get_stats (struct net_device *dev) +static struct rtnl_link_stats64 *cxgb_get_stats (struct net_device *dev, +struct rtnl_link_stats64 *ns) {struct port_stats stats;struct port_info *p =netdev_priv (dev);struct adapter *adapter = p->adapter; -struct rtnl_link_stats64 *ns = &dev->stats64;spin_lock (&adapter->stats_lock);t4_get_port_stats (adapter, p->tx_chan, &stats);
Signature · 1 line
1.5.4
Le mercredi 07 juillet 2010 à 19:11 -0700, Dimitris Michailidis a écrit :
Quoted 5 lines
The change to
ndo_get_stats64in "net: fix 64 bit counters on 32 bit arches" missed cxgb4. Fix it.Signed-off-by Dimitris Michailidis <[email protected]>---
Indeed, sorry and thanks !
Acked-by Eric Dumazet <[email protected]>
From: Eric Dumazet <[email protected]>
Date: Thu, 08 Jul 2010 07:17:10 +0200
Quoted 11 lines
Le mercredi 07 juillet 2010 à 19:11 -0700, Dimitris Michailidis a écrit :
Quoted 5 lines
The change to
ndo_get_stats64in "net: fix 64 bit counters on 32 bit arches" missed cxgb4. Fix it.Signed-off-by Dimitris Michailidis <[email protected]>---
Indeed, sorry and thanks !
Acked-by Eric Dumazet <[email protected]>
Applied, thanks.