mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] pdc4030: return needs value; function needs return;
@ 2003-09-09 23:54 Randy.Dunlap
  2003-09-10  1:14 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2003-09-09 23:54 UTC (permalink / raw)
  To: akpm, lkml; +Cc: B.Zolnierkiewicz


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
 }

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-10  4:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 23:54 [PATCH] pdc4030: return needs value; function needs return; Randy.Dunlap
2003-09-10  1:14 ` Bartlomiej Zolnierkiewicz
2003-09-10  4:34   ` Randy.Dunlap

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®