From: Frank Davis <fdavis@si.rr.com>
To: linux-kernel@vger.kernel.org
Cc: fdavis@si.rr.com, <trivial@rustcorp.com.au>
Subject: [PATCH] 2.5.59 : drivers/scsi/advansys.c
Date: Fri, 7 Feb 2003 12:24:54 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.44.0302071223250.6917-100000@master> (raw)
Hello all,
The following patch addresses buzilla bug # 324, and removes a double
logical issue. Please review for inclusion.
Regards,
Frank
--- linux/drivers/scsi/advansys.c.old 2003-01-16 21:21:49.000000000 -0500
+++ linux/drivers/scsi/advansys.c 2003-02-07 02:09:58.000000000 -0500
@@ -7100,7 +7100,7 @@
* then return the number of underrun bytes.
*/
if (scp->request_bufflen != 0 && qdonep->remain_bytes != 0 &&
- qdonep->remain_bytes <= scp->request_bufflen != 0) {
+ qdonep->remain_bytes <= scp->request_bufflen && scp->request_bufflen!= 0) {
ASC_DBG1(1, "asc_isr_callback: underrun condition %u bytes\n",
(unsigned) qdonep->remain_bytes);
scp->resid = qdonep->remain_bytes;
next reply other threads:[~2003-02-07 17:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-07 17:24 Frank Davis [this message]
2003-02-07 17:35 ` Dave Jones
2003-02-10 0:35 ` Rusty Russell
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=Pine.LNX.4.44.0302071223250.6917-100000@master \
--to=fdavis@si.rr.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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®