From: "Randy.Dunlap" <rddunlap@osdl.org>
To: akpm@osdl.org, lkml <linux-kernel@vger.kernel.org>
Cc: B.Zolnierkiewicz@elka.pw.edu.pl
Subject: [PATCH] pdc4030: return needs value; function needs return;
Date: Tue, 9 Sep 2003 16:54:14 -0700 [thread overview]
Message-ID: <20030909165414.2f0a5113.rddunlap@osdl.org> (raw)
Hi,
Please apply to 2.6.0-test5.
--
~Randy
diff -Naurp ./drivers/ide/legacy/pdc4030.c~clean ./drivers/ide/legacy/pdc4030.c
--- ./drivers/ide/legacy/pdc4030.c~clean 2003-09-08 12:50:06.000000000 -0700
+++ ./drivers/ide/legacy/pdc4030.c 2003-09-09 16:35:33.000000000 -0700
@@ -304,7 +304,7 @@ int __init ide_probe_for_pdc4030(void)
#ifndef MODULE
if (enable_promise_support == 0)
- return;
+ return 0;
#endif
for (index = 0; index < MAX_HWIFS; index++) {
@@ -317,7 +317,7 @@ int __init ide_probe_for_pdc4030(void)
#endif
}
}
-#ifdef MODULE
+#ifndef MODULE
return 0;
#endif
}
next reply other threads:[~2003-09-09 23:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-09 23:54 Randy.Dunlap [this message]
2003-09-10 1:14 ` Bartlomiej Zolnierkiewicz
2003-09-10 4:34 ` Randy.Dunlap
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=20030909165414.2f0a5113.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=B.Zolnierkiewicz@elka.pw.edu.pl \
--cc=akpm@osdl.org \
--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®