patch-2.4.0-test11 linux/drivers/scsi/fcal.c
Next file: linux/drivers/scsi/fdomain.c
Previous file: linux/drivers/scsi/esp.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Nov 11 19:01:11 2000
- Orig file:
v2.4.0-test10/linux/drivers/scsi/fcal.c
- Orig date:
Sun Oct 8 10:50:24 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/scsi/fcal.c linux/drivers/scsi/fcal.c
@@ -128,7 +128,11 @@
if (!ages) continue;
host = scsi_register (tpnt, sizeof (struct fcal));
- if (!host) panic ("Cannot register FCAL host\n");
+ if (!host)
+ {
+ kfree(ages);
+ continue;
+ }
nfcals++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)