patch-2.1.62 linux/drivers/net/com90xx.c
Next file: linux/drivers/net/cops.c
Previous file: linux/drivers/net/com90io.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Nov 3 09:29:30 1997
- Orig file:
v2.1.61/linux/drivers/net/com90xx.c
- Orig date:
Sat Oct 25 02:44:15 1997
diff -u --recursive --new-file v2.1.61/linux/drivers/net/com90xx.c linux/drivers/net/com90xx.c
@@ -584,7 +584,7 @@
dev->priv = kmalloc(sizeof(struct arcnet_local), GFP_KERNEL);
if (dev->priv == NULL)
{
- free_irq(airq,NULL);
+ free_irq(airq,dev);
release_region(ioaddr,ARCNET_TOTAL_SIZE);
return -ENOMEM;
}
@@ -1201,7 +1201,7 @@
if (dev->irq)
{
- free_irq(dev->irq,NULL);
+ free_irq(dev->irq,dev);
}
if (dev->base_addr) release_region(dev->base_addr,ARCNET_TOTAL_SIZE);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov