patch-2.4.0-test11 linux/drivers/scsi/imm.c
Next file: linux/drivers/scsi/in2000.c
Previous file: linux/drivers/scsi/ibmmca.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/imm.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/scsi/imm.c linux/drivers/scsi/imm.c
@@ -198,6 +198,8 @@
host->can_queue = IMM_CAN_QUEUE;
host->sg_tablesize = imm_sg;
hreg = scsi_register(host, 0);
+ if(hreg == NULL)
+ continue;
hreg->io_port = pb->base;
hreg->n_io_port = ports;
hreg->dma_channel = -1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)