patch-2.0.11 linux/drivers/scsi/aha1542.c
Next file: linux/drivers/scsi/eata_dma.c
Previous file: linux/drivers/net/3c509.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Aug 1 15:43:04 1996
- Orig file:
v2.0.10/linux/drivers/scsi/aha1542.c
- Orig date:
Mon May 6 12:26:10 1996
diff -u --recursive --new-file v2.0.10/linux/drivers/scsi/aha1542.c linux/drivers/scsi/aha1542.c
@@ -1002,6 +1002,7 @@
cli();
if (request_irq(irq_level,aha1542_intr_handle, 0, "aha1542", NULL)) {
printk("Unable to allocate IRQ for adaptec controller.\n");
+ restore_flags(flags);
goto unregister;
}
@@ -1009,6 +1010,7 @@
if (request_dma(dma_chan,"aha1542")) {
printk("Unable to allocate DMA channel for Adaptec.\n");
free_irq(irq_level, NULL);
+ restore_flags(flags);
goto unregister;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov