summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2005-04-27 07:54:58 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-04-27 07:54:58 +0200
commit036d618434516103adb4d36db28a57968d2f2e7b (patch)
treea401c4ed2ff6a5305442243badd4aba7f6287854 /drivers
parent[SCSI] zfcp: fix compile error (diff)
downloadlinux-036d618434516103adb4d36db28a57968d2f2e7b.tar.xz
linux-036d618434516103adb4d36db28a57968d2f2e7b.zip
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/aacraid/linit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index c9b82687ba1a..242fa77513f5 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -450,7 +450,7 @@ static int aac_cfg_open(struct inode *inode, struct file *file)
}
}
- return 0;
+ return err;
}
/**