diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-04-15 14:20:36 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-05-14 14:16:10 -0700 |
commit | cbf12c326a25d32b90cfaa1c2e19515730bd90ac (patch) | |
tree | 24da0b6798d872587ffc42ae5b070c267d6edc18 | |
parent | 3bb41a1e627d148937d726d2cadbede2b56acc16 (diff) | |
download | linux-next-history-cbf12c326a25d32b90cfaa1c2e19515730bd90ac.tar.gz |
kbuild: enable -Wcast-function-type-strict unconditionally
Notice: this object is not reachable from any branch.
All known function cast warnings are now addressed, so the warning can be
enabled globally to catch new ones more quickly.
Link: https://lkml.kernel.org/r/20240415122037.1983124-6-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Notice: this object is not reachable from any branch.
-rw-r--r-- | scripts/Makefile.extrawarn | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index 202e26e6f29fc1..1d13cecc7cc780 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -129,7 +129,6 @@ endif KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast) KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access) -KBUILD_CFLAGS += $(call cc-disable-warning, cast-function-type-strict) KBUILD_CFLAGS += -Wno-enum-compare-conditional KBUILD_CFLAGS += -Wno-enum-enum-conversion endif |