patch-2.4.0-test11 linux/drivers/scsi/wd7000.c
Next file: linux/drivers/sound/724hwmcode.h
Previous file: linux/drivers/scsi/t128.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/wd7000.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/scsi/wd7000.c linux/drivers/scsi/wd7000.c
@@ -1626,6 +1626,8 @@
* array hostdata.
*/
sh = scsi_register (tpnt, sizeof (Adapter));
+ if(sh==NULL)
+ continue;
host = (Adapter *) sh->hostdata;
#ifdef WD7000_DEBUG
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)