patch-2.4.0-test11 linux/drivers/scsi/ppa.c
Next file: linux/drivers/scsi/psi240i.c
Previous file: linux/drivers/scsi/pluto.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/ppa.c
- Orig date:
Sun Oct 8 10:50:25 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/scsi/ppa.c linux/drivers/scsi/ppa.c
@@ -194,6 +194,8 @@
host->can_queue = PPA_CAN_QUEUE;
host->sg_tablesize = ppa_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)