From: Mark Lord <lkml@rtr.ca>
To: Brad Barnett <bahb@l8r.net>
Cc: Erik Meitner <e.spambo1.meitner@willystreet.coop>,
linux-kernel@vger.kernel.org
Subject: Re: Megaraid abort errors
Date: Wed, 14 Dec 2005 18:41:36 -0500 [thread overview]
Message-ID: <43A0ADB0.1060205@rtr.ca> (raw)
In-Reply-To: <20051214183113.309ac575@be.back.l8r.net>
Well, there's this bug (patch below) in the megaraid driver,
but it only affects certain architectures.
* * *
The SCSI megaraid drive goes to great effort to kmap
the scatterlist buffer (if used), but then uses the
wrong pointer when copying to it afterward.
Signed-off-by: Mark Lord <lkml@rtr.ca>
--- linux-2.6.15-rc5/drivers/scsi/megaraid.c.orig 2005-12-04 00:10:42.000000000 -0500
+++ linux/drivers/scsi/megaraid.c 2005-12-07 17:41:30.000000000 -0500
@@ -664,7 +664,7 @@
sg->offset;
} else
buf = cmd->request_buffer;
- memset(cmd->request_buffer, 0, cmd->cmnd[4]);
+ memset(buf, 0, cmd->cmnd[4]);
if (cmd->use_sg) {
struct scatterlist *sg;
prev parent reply other threads:[~2005-12-14 23:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-14 21:45 Megaraid abort errors Erik Meitner
2005-12-14 23:31 ` Brad Barnett
2005-12-14 23:41 ` Mark Lord [this message]
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=43A0ADB0.1060205@rtr.ca \
--to=lkml@rtr.ca \
--cc=bahb@l8r.net \
--cc=e.spambo1.meitner@willystreet.coop \
--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