[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-head
Subject: [PATCH] Fix scsi_probe_and_add_lun
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2003-02-28 22:48:32
[Download RAW message or body]
ChangeSet 1.1132, 2003/02/28 14:48:32-08:00, mzyngier@freesurf.fr
[PATCH] Fix scsi_probe_and_add_lun
This fixes a bug introduced in the recent scsi_scan.c reorganisation.
Without this patch, my Alpha Jensen was crashing just after detecting
its first SCSI disk. It is now working fine.
# This patch includes the following deltas:
# ChangeSet 1.1131 -> 1.1132
# drivers/scsi/scsi_scan.c 1.62 -> 1.63
#
scsi_scan.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Nru a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
--- a/drivers/scsi/scsi_scan.c Fri Feb 28 15:06:29 2003
+++ b/drivers/scsi/scsi_scan.c Fri Feb 28 15:06:29 2003
@@ -1338,7 +1338,7 @@
scsi_release_request(sreq);
out_free_sdev:
if (res == SCSI_SCAN_LUN_PRESENT) {
- if (*sdevp)
+ if (sdevp)
*sdevp = sdev;
} else {
if (q) {
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic