forcedeth: Compile fix forcedeth 0.44
Subsystems (2)
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 <[email protected]>
drivers/net/forcedeth.c +1 -1
@@ -923,7 +923,7 @@ static int nv_init_ring(struct net_devicstatic 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; dprintk(KERN_INFO "%s: nv_release_txskb for skbnr %d, skb %p\n",
Quoted 13 lines · Manfred Spraul
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 <[email protected]>------------------------------------------------------------------------
drivers/net/forcedeth.c static int nv_init_ring(struct net_devic · line 927
Quoted 6 lines
drivers/net/forcedeth.c +1
-1@@ -923,7 +923,7 @@ static int nv_init_ring(struct net_devicstatic 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