]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/Kconfig.debug
modpost: Add flag -E for making section mismatches fatal
authorNicolas Boichat <drinkcat@chromium.org>
Mon, 5 Oct 2015 23:14:42 +0000 (09:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 6 Oct 2015 00:16:21 +0000 (10:46 +1030)
commit47490ec141b9944a8a7cbe3bec8b8f4fdaaa700b
tree250ae9e4fb5f2a956cfc1ab474ffc2872167a231
parent74b22c465cd2b6ff4b8cec3997512ec807e6e495
modpost: Add flag -E for making section mismatches fatal

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.

Setting CONFIG_SECTION_MISMATCH_WARN_ONLY=y causes these warnings to be
non-fatal, since there are a number of section mismatches when using
allmodconfig on some architectures, and we do not want to break these
builds by default.

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Change-Id: Ic346706e3297c9f0d790e3552aa94e5cff9897a6
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/Kconfig.debug
scripts/Makefile.modpost
scripts/mod/modpost.c