summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/psi240i.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-11-28 03:58:46 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-11-28 03:58:46 +0000
commitb63ad0882a16a5d28003e57f2b0b81dee3fb322b (patch)
tree0a343ce219e2b8b38a5d702d66032c57b83d9720 /drivers/scsi/psi240i.c
parenta9d7bff9a84dba79609a0002e5321b74c4d64c64 (diff)
Merge with 2.4.0-test11.
Diffstat (limited to 'drivers/scsi/psi240i.c')
-rw-r--r--drivers/scsi/psi240i.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/psi240i.c b/drivers/scsi/psi240i.c
index ccd233120..d3987e52a 100644
--- a/drivers/scsi/psi240i.c
+++ b/drivers/scsi/psi240i.c
@@ -597,6 +597,8 @@ int Psi240i_Detect (Scsi_Host_Template *tpnt)
continue;
pshost = scsi_register (tpnt, sizeof(ADAPTER240I));
+ if(pshost == NULL)
+ continue;
save_flags (flags);
cli ();