Skip to contentSkip to conversation

scsi_register-001-002

PATCH New Rusty Trivial Russell 1 participant 1 message Nov 8, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi_register-001-002

From: Michael Still <[email protected]>

Updated patches to scsi_register patches against the 2.5.45 tree

arch/ia64/hp/sim/simscsi.c renamed from arch/ia64/hp/sim/simscsi.c.orig +3 -0
@@ -115,6 +115,9 @@
 {
 	templ->proc_name = "simscsi";
 	host = scsi_register(templ, 0);
+	if(host == NULL)
+		return 0;
+
 	return 1;	/* fake one SCSI host adapter */
 }
 
Signature · 2 lines
  Don't blame me: the Monkey is driving
  File: Michael Still <[email protected]>: [Trivial Patch] scsi_register-001-002