patch-2.4.22 linux-2.4.22/drivers/scsi/gdth.c
Next file: linux-2.4.22/drivers/scsi/ide-scsi.c
Previous file: linux-2.4.22/drivers/scsi/dec_esp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/scsi/gdth.c
- Orig date:
2003-06-13 07:51:36.000000000 -0700
diff -urN linux-2.4.21/drivers/scsi/gdth.c linux-2.4.22/drivers/scsi/gdth.c
@@ -4029,6 +4029,8 @@
break;
if (gdth_search_isa(isa_bios)) { /* controller found */
shp = scsi_register(shtp,sizeof(gdth_ext_str));
+ if(shp == NULL)
+ continue;
ha = HADATA(shp);
if (!gdth_init_isa(isa_bios,ha)) {
scsi_unregister(shp);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)