Messages in this thread Patch in this message | | | Date | Tue, 9 Sep 2003 16:54:14 -0700 | From | "Randy.Dunlap" <> | 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/
| |