[TRIVIAL] [Trivial Patch] scsi_register-002

Rusty Trivial Russell
2003-06-23T06:47:28Z

--- trivial-2.4.22-pre1/drivers/scsi/aacraid/linit.c.orig 2003-06-23 16:39:34.000000000 +1000
+++ trivial-2.4.22-pre1/drivers/scsi/aacraid/linit.c 2003-06-23 16:39:34.000000000 +1000
@@ -203,6 +203,9 @@
* specific information.
*/
host_ptr = scsi_register( template, sizeof(struct aac_dev) );
+ if(host_ptr == NULL)
+ continue;
+
/*
* These three parameters can be used to allow for wide SCSI
* and for host adapters that support multiple buses.
--
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/