patch-2.3.26 linux/drivers/usb/usb_scsi.c
Next file: linux/drivers/usb/uss720.c
Previous file: linux/drivers/usb/usb.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Nov 5 10:42:15 1999
- Orig file:
v2.3.25/linux/drivers/usb/usb_scsi.c
- Orig date:
Mon Nov 1 13:56:26 1999
diff -u --recursive --new-file v2.3.25/linux/drivers/usb/usb_scsi.c linux/drivers/usb/usb_scsi.c
@@ -1365,7 +1365,9 @@
usb_zip_init();
#endif
- usb_register(&scsi_driver);
+ if (usb_register(&scsi_driver) < 0)
+ return -1;
+
printk(KERN_INFO "USB SCSI support registered.\n");
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)