* [PATCH net-next] cxgb4: fix for new ndo_get_stats64 signature
@ 2010-07-08 2:11 Dimitris Michailidis
2010-07-08 5:17 ` Eric Dumazet
0 siblings, 1 reply; 3+ messages in thread
From: Dimitris Michailidis @ 2010-07-08 2:11 UTC (permalink / raw)
To: netdev; +Cc: Dimitris Michailidis
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>
---
drivers/net/cxgb4/cxgb4_main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c
index 55a720e..2619997 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)
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);
--
1.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] cxgb4: fix for new ndo_get_stats64 signature
2010-07-08 2:11 [PATCH net-next] cxgb4: fix for new ndo_get_stats64 signature Dimitris Michailidis
@ 2010-07-08 5:17 ` Eric Dumazet
2010-07-08 5:41 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Eric Dumazet @ 2010-07-08 5:17 UTC (permalink / raw)
To: Dimitris Michailidis; +Cc: netdev
Le mercredi 07 juillet 2010 à 19:11 -0700, Dimitris Michailidis a
écrit :
> 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>
> ---
Indeed, sorry and thanks !
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] cxgb4: fix for new ndo_get_stats64 signature
2010-07-08 5:17 ` Eric Dumazet
@ 2010-07-08 5:41 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2010-07-08 5:41 UTC (permalink / raw)
To: eric.dumazet; +Cc: dm, netdev
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Thu, 08 Jul 2010 07:17:10 +0200
> Le mercredi 07 juillet 2010 à 19:11 -0700, Dimitris Michailidis a
> écrit :
>> 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>
>> ---
>
> Indeed, sorry and thanks !
>
> Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-08 5:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-08 2:11 [PATCH net-next] cxgb4: fix for new ndo_get_stats64 signature Dimitris Michailidis
2010-07-08 5:17 ` Eric Dumazet
2010-07-08 5:41 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).