commit | 036d618434516103adb4d36db28a57968d2f2e7b | [log] [tgz] |
---|---|---|
author | Mark Haverkamp <markh@osdl.org> | Tue Apr 26 22:54:58 2005 -0700 |
committer | James Bottomley <jejb@mulgrave.(none)> | Tue Apr 26 22:54:58 2005 -0700 |
tree | a401c4ed2ff6a5305442243badd4aba7f6287854 | |
parent | bd6ae2f6d61da0f90c6b66e9a4ab6c53ef8c159a [diff] |
[SCSI] aacraid: Fix adapter open error This fixes an error on the device open code that allows a non-existent device to be opened causing later panic problems. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index c9b8268..242fa77 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c
@@ -450,7 +450,7 @@ } } - return 0; + return err; } /**