Skip to contentSkip to conversation

fix netx-eth.c compilation

PATCH Applied Adrian Bunk 2 participants 2 messages Jan 5, 2008 – Jan 6, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix netx-eth.c compilation

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

---
15e5efb728c61333ca10648334185efba86c4815

drivers/net/netx-eth.c +2 -2
index 5267e03..78d34af 100644
@@ -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
maintainer Applied
#1 lore raw

From: Adrian Bunk <[email protected]>
Date: Sat, 5 Jan 2008 23:46:16 +0200

Quoted 5 lines

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

Applied, thanks Adrian.