From: Marc Zyngier <mzyngier@freesurf.fr>
To: Christoph Hellwig <hch@lst.de>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: [PATCH] Fix scsi_probe_and_add_lun
Date: 28 Feb 2003 20:48:07 +0100 [thread overview]
Message-ID: <wrp3cm8gpag.fsf@hina.wild-wind.fr.eu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: jensen.patch --]
[-- Type: text/x-patch, Size: 933 bytes --]
# 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) {
[-- Attachment #3: Type: text/plain, Size: 59 bytes --]
--
Places change, faces change. Life is so very strange.
next reply other threads:[~2003-02-28 19:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-28 19:48 Marc Zyngier [this message]
2003-02-28 19:58 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wrp3cm8gpag.fsf@hina.wild-wind.fr.eu.org \
--to=mzyngier@freesurf.fr \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®