sonic: Fix build after ndo_start_xmit() changes.
authorDavid S. Miller <davem@davemloft.net>
Wed, 17 Jun 2009 08:36:23 +0000 (01:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jun 2009 08:36:23 +0000 (01:36 -0700)
Noticed by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sonic.c

index e4255d82938063dd73dfb7521064fe2d4e920892..753a1fba46093cb4bc076eee92e7de93f06ab4de 100644 (file)
@@ -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 */