--=_courier-15835-1046462398-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
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.
--=_courier-15835-1046462398-0001-2
Content-Type: text/x-patch; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=jensen.patch
# 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) {
--=_courier-15835-1046462398-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
-- Places change, faces change. Life is so very strange.--=_courier-15835-1046462398-0001-2--