summaryrefslogtreecommitdiffstats
path: root/arch/x86/configs/i386_defconfig
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2022-03-23 12:21:10 +0100
committerIngo Molnar <mingo@kernel.org>2022-03-24 09:10:56 +0100
commitb9080ba4a6ec56447f263082825a4fddb873316b (patch)
tree95b550eb4aead2b15ed7331c7fbe4b4c659dbbf9 /arch/x86/configs/i386_defconfig
parentselftests/x86/amx: Update the ARCH_REQ_XCOMP_PERM test (diff)
downloadlinux-b9080ba4a6ec56447f263082825a4fddb873316b.tar.xz
linux-b9080ba4a6ec56447f263082825a4fddb873316b.zip
x86/defconfig: Enable WERROR
To quote Linus: "EVERYBODY should have CONFIG_WERROR=y on at least x86-64 and other serious architectures, unless you have some completely random experimental (and broken) compiler. New compiler warnings are not acceptable." So this should make at least the most obvious and common ones not go unnoticed. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/YjsCpoRK7W4l6tSh@zn.tnic
Diffstat (limited to 'arch/x86/configs/i386_defconfig')
-rw-r--r--arch/x86/configs/i386_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig
index 71124cf8630c..4b2085243aa3 100644
--- a/arch/x86/configs/i386_defconfig
+++ b/arch/x86/configs/i386_defconfig
@@ -262,3 +262,4 @@ CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
CONFIG_EARLY_PRINTK_DBGP=y
CONFIG_DEBUG_BOOT_PARAMS=y
CONFIG_KALLSYMS_ALL=y
+CONFIG_WERROR=y