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

From: Sam Ravnborg
Date: Sun Jan 06 2013 - 04:36:43 EST


Hi Jonathan.

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

Another way to make them much more visible would be to make
the warnings always be verbose.

In other words drop support for the "-S" options used below:
> $(if $(CONFIG_DEBUG_SECTION_MISMATCH),,-S)

Previously the dev* stuff caused a lot of warnings, but
since we have HOTPLUG always enabled this is a non-issue.
So I think that this is a good time to enable the verboce
warnings.

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