mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
sonic: Fix build after ndo_start_xmit() changes.
Noticed by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
14ebaf81e1
commit
05e9e61a2e
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue