Re: [PATCH 18/28] kbuild: fail kernel compilation in case of unresolved module symbols

From: Al Viro
Date: Sun Sep 24 2006 - 18:20:44 EST


On Sun, Sep 24, 2006 at 11:18:14PM +0200, sam@xxxxxxxxxxxx wrote:
> From: Kirill Korotaev <dev@xxxxxxxxxx>
>
> At stage 2 modpost utility is used to check modules. In case of unresolved
> symbols modpost only prints warning.
>
> IMHO it is a good idea to fail compilation process in case of unresolved
> symbols (at least in modules coming with kernel), since usually such errors
> are left unnoticed, but kernel modules are broken.
>
> - new option '-w' is added to modpost:
> if option is specified, modpost only warns about unresolved symbols
>
> - modpost is called with '-w' for external modules in Makefile.modpost

Oh, joy... Could you add a way to tell kbuild that old behaviour is,
in fact, desired? make MODPOST_FLAGS=-w or something along these lines...
-
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/