Skip to content

Commit 370655b

Browse files
nathanchancemasahir0y
authored andcommitted
scripts/Makefile.extrawarn: Do not disable clang's -Wformat-zero-length
There are no instances of this warning in the tree across several difference architectures and configurations. This was added by commit 26ea6bb ("kbuild, LLVMLinux: Supress warnings unless W=1-3") back in 2014, where it might have been necessary, but there are no instances of it now so stop disabling it to increase warning coverage for clang. Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 0df499e commit 370655b

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
@@ -49,7 +49,6 @@ ifdef CONFIG_CC_IS_CLANG
4949
KBUILD_CFLAGS += -Wno-initializer-overrides
5050
KBUILD_CFLAGS += -Wno-format
5151
KBUILD_CFLAGS += -Wno-sign-compare
52-
KBUILD_CFLAGS += -Wno-format-zero-length
5352
KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast)
5453
KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
5554
KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access)

0 commit comments

Comments
 (0)