From: Joerg Dorchain <joerg@dorchain.net>
To: "Leubner, Achim" <Achim_Leubner@adaptec.com>
Cc: linux-kernel@vger.kernel.org
Subject: [Patch] bug in gdth.c crashing machine
Date: Fri, 23 Feb 2007 14:29:55 +0100 [thread overview]
Message-ID: <20070223132955.GQ3250@Redstar.dorchain.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]
Hello Achim,
wrt to your mail to the lkml from 13 Oct 2006 Message-ID:
<EF6AF37986D67948AD48624A3E5D93AFE72291@mtce2k01.adaptec.com>,
I'd be pleased if you could integrate the derived patch into a bugfix
release of the driver asap.
This bug kept me busy for three days, endangering backup to tapes.
Patch is against vanilla 2.6.20.
Kind regards,
Joerg
Signed-off-by: Joerg Dorchain <joerg@dorchain.net>
--- gdth.c.orig 2007-02-23 12:48:56.000000000 +0100
+++ gdth.c 2007-02-23 12:51:44.000000000 +0100
@@ -3092,6 +3092,7 @@
cmdp->u.raw64.direction =
gdth_direction_tab[scp->cmnd[0]]==DOU ? GDTH_DATA_OUT:GDTH_DATA_IN;
memcpy(cmdp->u.raw64.cmd,scp->cmnd,16);
+ cmdp->u.raw64.sg_ranz = 0;
} else {
cmdp->u.raw.reserved = 0;
cmdp->u.raw.mdisc_time = 0;
@@ -3108,6 +3109,7 @@
cmdp->u.raw.direction =
gdth_direction_tab[scp->cmnd[0]]==DOU ? GDTH_DATA_OUT:GDTH_DATA_IN;
memcpy(cmdp->u.raw.cmd,scp->cmnd,12);
+ cmdp->u.raw.sg_ranz = 0;
}
if (scp->use_sg) {
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-02-23 13:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-23 13:29 Joerg Dorchain [this message]
2007-02-23 14:13 ` Leubner, Achim
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=20070223132955.GQ3250@Redstar.dorchain.net \
--to=joerg@dorchain.net \
--cc=Achim_Leubner@adaptec.com \
--cc=linux-kernel@vger.kernel.org \
/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®