lkml.org 
[lkml]   [2003]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] pdc4030: return needs value; function needs return;

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
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.019 / U:4.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site