Skip to content

Commit bd2a70e

Browse files
arndbakpm00
authored andcommitted
kbuild: enable -Wcast-function-type-strict unconditionally
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/[email protected] Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Kees Cook <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nicolas Schier <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 908dd50 commit bd2a70e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/Makefile.extrawarn

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ endif
129129
KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast)
130130
KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
131131
KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access)
132-
KBUILD_CFLAGS += $(call cc-disable-warning, cast-function-type-strict)
133132
KBUILD_CFLAGS += -Wno-enum-compare-conditional
134133
KBUILD_CFLAGS += -Wno-enum-enum-conversion
135134
endif

0 commit comments

Comments
 (0)