patch-2.3.48 linux/drivers/atm/iphase.c
Next file: linux/drivers/atm/pca200e.data
Previous file: linux/drivers/atm/fore200e_mkfirm.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Feb 21 16:32:27 2000
- Orig file:
v2.3.47/linux/drivers/atm/iphase.c
- Orig date:
Thu Feb 10 17:11:06 2000
diff -u --recursive --new-file v2.3.47/linux/drivers/atm/iphase.c linux/drivers/atm/iphase.c
@@ -2359,7 +2359,7 @@
{
printk(DEV_LABEL "(itf %d): can't enable memory (0x%x)\n",
dev->number,error);
- return error;
+ return -EIO;
}
/*
* Delay at least 1us before doing any mem accesses (how 'bout 10?)
@@ -2499,7 +2499,7 @@
printk(KERN_ERR DEV_LABEL "(itf %d): can't enable memory+"
"master (0x%x)\n",dev->number, error);
free_irq(iadev->irq, dev);
- return error;
+ return -EIO;
}
udelay(10);
@@ -3074,7 +3074,7 @@
{
if (!skb)
printk(KERN_CRIT "null skb in ia_send\n");
- dev_kfree_skb(skb);
+ else dev_kfree_skb(skb);
return -EINVAL;
}
spin_lock_irqsave(&iadev->tx_lock, flags);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)