lkml.org 
[lkml]   [2003]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Fix scsi_probe_and_add_lun
From
Date
Christoph,

The following patch 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.

M.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1092 -> 1.1093
# drivers/scsi/scsi_scan.c 1.62 -> 1.63
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/02/28 maz@hina.wild-wind.fr.eu.org 1.1093
# Fix scsi_probe_and_add_lun typo.
# The ol'Jensen wouldn't boot without it...
# --------------------------------------------
#
diff -Nru a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
--- a/drivers/scsi/scsi_scan.c Fri Feb 28 20:45:00 2003
+++ b/drivers/scsi/scsi_scan.c Fri Feb 28 20:45:00 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) {
--
Places change, faces change. Life is so very strange.
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.072 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site