Skip to content

Commit b9080ba

Browse files
suryasaimadhuingomolnar
authored andcommitted
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
1 parent 20df737 commit b9080ba

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

arch/x86/configs/i386_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,4 @@ CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
262262
CONFIG_EARLY_PRINTK_DBGP=y
263263
CONFIG_DEBUG_BOOT_PARAMS=y
264264
CONFIG_KALLSYMS_ALL=y
265+
CONFIG_WERROR=y

arch/x86/configs/x86_64_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,4 @@ CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
258258
CONFIG_EARLY_PRINTK_DBGP=y
259259
CONFIG_DEBUG_BOOT_PARAMS=y
260260
CONFIG_KALLSYMS_ALL=y
261+
CONFIG_WERROR=y

0 commit comments

Comments
 (0)