diff options
author | David S. Miller <davem@davemloft.net> | 2009-06-17 04:36:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-17 04:36:23 -0400 |
commit | 05e9e61a2e742d33ed24392d989fff912a68d04f (patch) | |
tree | dbf690d98e44aae52650a9cfa46626a7b4e5f956 | |
parent | 14ebaf81e13ce66bff275380b246796fd16cbfa1 (diff) |
sonic: Fix build after ndo_start_xmit() changes.
Noticed by Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/sonic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sonic.c b/drivers/net/sonic.c index e4255d829380..753a1fba4609 100644 --- a/drivers/net/sonic.c +++ b/drivers/net/sonic.c | |||
@@ -223,7 +223,7 @@ static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev) | |||
223 | if (!laddr) { | 223 | if (!laddr) { |
224 | printk(KERN_ERR "%s: failed to map tx DMA buffer.\n", dev->name); | 224 | printk(KERN_ERR "%s: failed to map tx DMA buffer.\n", dev->name); |
225 | dev_kfree_skb(skb); | 225 | dev_kfree_skb(skb); |
226 | return NETDEV_TX_BUSY | 226 | return NETDEV_TX_BUSY; |
227 | } | 227 | } |
228 | 228 | ||
229 | sonic_tda_put(dev, entry, SONIC_TD_STATUS, 0); /* clear status */ | 229 | sonic_tda_put(dev, entry, SONIC_TD_STATUS, 0); /* clear status */ |