From: Anwar Payyoorayil <anwar@austin.rr.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: {PATCH] megaraid.c is broken in 2.4.0
Date: Tue, 09 Jan 2001 18:30:40 -0600 [thread overview]
Message-ID: <3A5BAD30.404B70CC@austin.rr.com> (raw)
Checking for the return value of I/O allocation is reversed.
Patch against 2.4.0 follows. Definitely 2.4.1 material !!
--- linux/drivers/scsi/megaraid.c.orig Wed Dec 6 14:06:18 2000
+++ linux/drivers/scsi/megaraid.c Tue Jan 9 18:09:34 2001
@@ -1527,7 +1527,7 @@
megaCtlrs[numCtlrs++] = megaCfg;
if (flag != BOARD_QUARTZ) {
/* Request our IO Range */
- if (request_region (megaBase, 16, "megaraid")) {
+ if (!request_region (megaBase, 16, "megaraid")) {
printk (KERN_WARNING "megaraid: Couldn't register I/O range!" CRLFSTR);
scsi_unregister (host);
continue;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2001-01-10 0:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3A5BAD30.404B70CC@austin.rr.com \
--to=anwar@austin.rr.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;
as well as URLs for NNTP newsgroup(s).