[PATCH] 2.6 aacraid: Fix adapter open error (resend)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Re-send of a recent patch diffed against the scsi-misc-2.6 git tree.

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@xxxxxxxx>

diff -Nru -X scsi-misc-2.6/Documentation/dontdiff -x .git scsi-misc-2.6/drivers/scsi/aacraid/linit.c scsi-misc-work/drivers/scsi/aacraid/linit.c
--- scsi-misc-2.6/drivers/scsi/aacraid/linit.c	2005-04-26 11:24:01.000000000 -0700
+++ scsi-misc-work/drivers/scsi/aacraid/linit.c	2005-04-26 14:40:35.000000000 -0700
@@ -450,7 +450,7 @@
 		}
 	}
 
-	return 0;
+	return err;
 }
 
 /**

-- 
Mark Haverkamp <markh@xxxxxxxx>

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux