diff options
author | Nathan Chancellor <nathan@kernel.org> | 2021-08-16 13:20:54 -0700 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-09-03 08:17:20 +0900 |
commit | a312b60d6c4f09cebb727ffab68754fbf39dc1f1 (patch) | |
tree | efc46ba76c5e6d27a3885e887b6fdc26c2940d65 /Makefile | |
parent | e1f86d7b4b2a5213b012c2b4fe3e5b6ad537686e (diff) | |
download | linux-stable-a312b60d6c4f09cebb727ffab68754fbf39dc1f1.tar.gz linux-stable-a312b60d6c4f09cebb727ffab68754fbf39dc1f1.tar.bz2 linux-stable-a312b60d6c4f09cebb727ffab68754fbf39dc1f1.zip |
kbuild: Remove -Wno-format-invalid-specifier from clang block
Turning on -Wformat does not reveal any instances of this warning across
several different builds so remove this line to keep the number of
disabled warnings as slim as possible.
This has been disabled since commit 61163efae020 ("kbuild: LLVMLinux:
Add Kbuild support for building kernel with Clang"), which does not
explain exactly why it was turned off but since it was so long ago in
terms of both the kernel and LLVM so it is possible that some bug got
fixed along the way.
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -782,7 +782,6 @@ KBUILD_CFLAGS += $(stackp-flags-y) ifdef CONFIG_CC_IS_CLANG KBUILD_CPPFLAGS += -Qunused-arguments -KBUILD_CFLAGS += -Wno-format-invalid-specifier KBUILD_CFLAGS += -Wno-gnu # CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the # source of a reference will be _MergedGlobals and not on of the whitelisted names. |