patch-2.4.3 linux/drivers/scsi/sun3x_esp.c
Next file: linux/drivers/scsi/sym53c416.c
Previous file: linux/drivers/scsi/sun3_scsi.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Tue Mar 6 19:44:37 2001
- Orig file:
v2.4.2/linux/drivers/scsi/sun3x_esp.c
- Orig date:
Wed Feb 21 18:20:33 2001
diff -u --recursive --new-file v2.4.2/linux/drivers/scsi/sun3x_esp.c linux/drivers/scsi/sun3x_esp.c
@@ -103,7 +103,11 @@
sizeof (cmd_buffer));
esp->irq = 2;
- request_irq(esp->irq, esp_intr, SA_INTERRUPT, "SUN3X SCSI", NULL);
+ if (request_irq(esp->irq, esp_intr, SA_INTERRUPT,
+ "SUN3X SCSI", NULL)) {
+ esp_deallocate(esp);
+ return 0;
+ }
esp->scsi_id = 7;
esp->diff = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)