aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-03-15 16:25:48 +0100
committerArnd Bergmann <arnd@arndb.de>2024-03-23 14:41:13 +0100
commit467039adc3ec86566cc6403e5b1fbb9785d66df1 (patch)
tree121dde03b6b466ce31a64d10ce8e14ab6da93475
parent2b5a3bc3968f9525fcf7ec14956fe4e19d237f57 (diff)
downloadplayground-kbuild-warnings-enable-6.9-v2.tar.gz
kbuild: always enable -Wunused-const-variableto-buildkbuild-warnings-enable-6.9-v2
The last such warnings are fixed now, so the option can be enabled by default. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--scripts/Makefile.extrawarn1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn
index 24d29e47764458..a534aba0b97aa2 100644
--- a/scripts/Makefile.extrawarn
+++ b/scripts/Makefile.extrawarn
@@ -96,7 +96,6 @@ else
# Some diagnostics enabled by default are noisy.
# Suppress them by using -Wno... except for W=1.
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
-KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
KBUILD_CFLAGS += $(call cc-disable-warning, packed-not-aligned)
KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
ifdef CONFIG_CC_IS_GCC