projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9e0b8
)
cxgb4: fix for new ndo_get_stats64 signature
author
Dimitris Michailidis
<
[email protected]
>
Wed, 7 Jul 2010 16:11:25 +0000
(16:11 +0000)
committer
David S. Miller
<
[email protected]
>
Thu, 8 Jul 2010 05:41:05 +0000
(22:41 -0700)
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]
>
Acked-by: Eric Dumazet <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/cxgb4/cxgb4_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/cxgb4/cxgb4_main.c
b/drivers/net/cxgb4/cxgb4_main.c
index 55a720e4abdc63301e707b3cbd218b7a7e2c9cec..26199979290d72aa11a7408753cb8ab11289e215 100644
(file)
--- 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)
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);