Thread (2 messages) 2 messages, 2 authors, 2005-10-21

Re: [PATCH 3/2] forcedeth: Compile fix forcedeth 0.44

From: Jeff Garzik <hidden>
Date: 2005-10-21 21:23:37

Manfred Spraul wrote:
quoted hunk ↗ jump to hunk
Hi,

forcedeth-0.44 contains a spurious ; in nv_release_txskb. gcc-4 compiles 
it with a warning, older compilers might reject it.
The attached onliner fixes that, sorry.

Signed-off-By: Manfred Spraul <redacted>


------------------------------------------------------------------------
--- 2.6/drivers/net/forcedeth.c	2005-09-18 16:12:10.000000000 +0200
+++ build-2.6/drivers/net/forcedeth.c	2005-09-18 16:14:19.000000000 +0200
@@ -923,7 +923,7 @@ static int nv_init_ring(struct net_devic
 static void nv_release_txskb(struct net_device *dev, unsigned int skbnr)
 {
 	struct fe_priv *np = get_nvpriv(dev);
-	struct sk_buff *skb = np->tx_skbuff[skbnr];;
+	struct sk_buff *skb = np->tx_skbuff[skbnr];
 	unsigned int j, entry, fragments;
obviously OK, but dropped since the previous patch was dropped
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help