LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6.24 patch] fix netx-eth.c compilation
@ 2008-01-05 21:46 Adrian Bunk
  2008-01-06  7:55 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-01-05 21:46 UTC (permalink / raw)
  To: Jeff Garzik, David S. Miller; +Cc: linux-kernel, netdev

This was missed when commit e2ac455a18806b31c2d0da0a51d8740af5010b7a 
fixed the compile errors in drivers/net/netx-eth.c caused by
commit 09f75cd7bf13720738e6a196cc0107ce9a5bd5a0.

Signed-off-by: Adrian Bunk <adrian.bunk@movial.fi>

---
15e5efb728c61333ca10648334185efba86c4815 
diff --git a/drivers/net/netx-eth.c b/drivers/net/netx-eth.c
index 5267e03..78d34af 100644
--- a/drivers/net/netx-eth.c
+++ b/drivers/net/netx-eth.c
@@ -169,8 +169,8 @@ static void netx_eth_receive(struct net_device *ndev)
 	ndev->last_rx = jiffies;
 	skb->protocol = eth_type_trans(skb, ndev);
 	netif_rx(skb);
-	dev->stats.rx_packets++;
-	dev->stats.rx_bytes += len;
+	ndev->stats.rx_packets++;
+	ndev->stats.rx_bytes += len;
 }
 
 static irqreturn_t


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [2.6.24 patch] fix netx-eth.c compilation
  2008-01-05 21:46 [2.6.24 patch] fix netx-eth.c compilation Adrian Bunk
@ 2008-01-06  7:55 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-01-06  7:55 UTC (permalink / raw)
  To: adrian.bunk; +Cc: jeff, linux-kernel, netdev

From: Adrian Bunk <adrian.bunk@movial.fi>
Date: Sat, 5 Jan 2008 23:46:16 +0200

> This was missed when commit e2ac455a18806b31c2d0da0a51d8740af5010b7a 
> fixed the compile errors in drivers/net/netx-eth.c caused by
> commit 09f75cd7bf13720738e6a196cc0107ce9a5bd5a0.
> 
> Signed-off-by: Adrian Bunk <adrian.bunk@movial.fi>

Applied, thanks Adrian.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-06  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-05 21:46 [2.6.24 patch] fix netx-eth.c compilation Adrian Bunk
2008-01-06  7:55 ` 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).