diff options
Diffstat (limited to 'drivers/net/ethernet/natsemi/xtsonic.c')
-rw-r--r-- | drivers/net/ethernet/natsemi/xtsonic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/natsemi/xtsonic.c b/drivers/net/ethernet/natsemi/xtsonic.c index e01c0a07a93a..7dfe88398d7d 100644 --- a/drivers/net/ethernet/natsemi/xtsonic.c +++ b/drivers/net/ethernet/natsemi/xtsonic.c | |||
@@ -205,6 +205,7 @@ static int __init sonic_probe1(struct net_device *dev) | |||
205 | if (lp->descriptors == NULL) { | 205 | if (lp->descriptors == NULL) { |
206 | printk(KERN_ERR "%s: couldn't alloc DMA memory for " | 206 | printk(KERN_ERR "%s: couldn't alloc DMA memory for " |
207 | " descriptors.\n", dev_name(lp->device)); | 207 | " descriptors.\n", dev_name(lp->device)); |
208 | err = -ENOMEM; | ||
208 | goto out; | 209 | goto out; |
209 | } | 210 | } |
210 | 211 | ||