]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] smc911x: fix compilation breakage wjen debug is on
authorVitaly Wool <vwool@ru.mvista.com>
Sat, 28 Apr 2007 15:32:16 +0000 (11:32 -0400)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:37:08 +0000 (11:37 -0700)
the patch below fixes compilation breakage of smc911x driver when ENABLE_SMC_DEBUG_PKTS equals to 1.

Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/smc911x.c

index 43af61438449c86c90c3dcf189a035932be1ba81..5f1cdb2898f77fa9d7be1d99ba9811c123aff299 100644 (file)
@@ -499,7 +499,7 @@ static inline void   smc911x_rcv(struct net_device *dev)
                SMC_SET_RX_CFG(RX_CFG_RX_END_ALGN4_ | ((2<<8) & RX_CFG_RXDOFF_));
                SMC_PULL_DATA(data, pkt_len+2+3);
 
-               DBG(SMC_DEBUG_PKTS, "%s: Received packet\n", dev->name,);
+               DBG(SMC_DEBUG_PKTS, "%s: Received packet\n", dev->name);
                PRINT_PKT(data, ((pkt_len - 4) <= 64) ? pkt_len - 4 : 64);
                dev->last_rx = jiffies;
                skb->dev = dev;