From: David S. Miller Date: Wed, 17 Jun 2009 08:36:23 +0000 (-0700) Subject: sonic: Fix build after ndo_start_xmit() changes. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05e9e61a2e742d33ed24392d989fff912a68d04f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git sonic: Fix build after ndo_start_xmit() changes. Noticed by Stephen Rothwell. Signed-off-by: David S. Miller --- 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) if (!laddr) { printk(KERN_ERR "%s: failed to map tx DMA buffer.\n", dev->name); dev_kfree_skb(skb); - return NETDEV_TX_BUSY + return NETDEV_TX_BUSY; } sonic_tda_put(dev, entry, SONIC_TD_STATUS, 0); /* clear status */