patch-2.4.0-test11 linux/drivers/scsi/fdomain.c
Next file: linux/drivers/scsi/g_NCR5380.c
Previous file: linux/drivers/scsi/fcal.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Nov 11 19:01:11 2000
- Orig file:
v2.4.0-test10/linux/drivers/scsi/fdomain.c
- Orig date:
Sun Oct 8 10:50:24 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/scsi/fdomain.c linux/drivers/scsi/fdomain.c
@@ -965,6 +965,8 @@
get resources. */
shpnt = scsi_register( tpnt, 0 );
+ if(shpnt == NULL)
+ return 0;
shpnt->irq = interrupt_level;
shpnt->io_port = port_base;
shpnt->n_io_port = 0x10;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)