Re: [PATCH] modpost: Add flag -f for making section mismatches fatal

From: Michal Marek
Date: Thu Jan 03 2013 - 04:06:25 EST


Dne 3.1.2013 00:56, Rusty Russell napsal(a):
> Jonathan Kliegman <kliegs@xxxxxxxxxxxx> writes:
>> The section mismatch warning can be easy to miss during the kernel build
>> process. Allow it to be marked as fatal to be easily caught and prevent
>> bugs from slipping in.
>>
>> Signed-off-by: Jonathan Kliegman <kliegs@xxxxxxxxxxxx>
>
> Hmm, a CONFIG option with no Kconfig entry? That seems weird...

With a Kconfig entry, all{mod,yes}configs would start failing. It can be
enabled with make CONFIG_SECTION_MISMATCH_FATAL=y for now. Maybe it
could be added to Kconfig with 'depends on n', so that it is documented
somewhere.

Michal
--
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/