Re: [PATCH] pdc4030: return needs value; function needs return;

From: Bartlomiej Zolnierkiewicz
Date: Tue Sep 09 2003 - 20:13:01 EST



Hi,

On Wednesday 10 of September 2003 01:54, Randy.Dunlap wrote:
> @@ -317,7 +317,7 @@ int __init ide_probe_for_pdc4030(void)
> #endif
> }
> }
> -#ifdef MODULE
> +#ifndef MODULE
> return 0;
> #endif
> }

This is wrong, we will now get warning for module instead of built-in.
Proper fix is to remove this #ifdef.

--bartlomiej

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/