* {PATCH] megaraid.c is broken in 2.4.0
@ 2001-01-10 0:30 Anwar Payyoorayil
0 siblings, 0 replies; only message in thread
From: Anwar Payyoorayil @ 2001-01-10 0:30 UTC (permalink / raw)
To: Linux Kernel
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-01-10 0:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-10 0:30 {PATCH] megaraid.c is broken in 2.4.0 Anwar Payyoorayil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox