From: Mark Haverkamp Date: Wed, 27 Apr 2005 05:54:58 +0000 (-0700) Subject: [SCSI] aacraid: Fix adapter open error X-Git-Tag: v2.6.12-rc4~19^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=036d618434516103adb4d36db28a57968d2f2e7b;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index c9b82687ba1..242fa77513f 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; } /**