summaryrefslogtreecommitdiffstats
path: root/fs/afs/protocol_afs.h
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2022-09-30 22:33:10 +0200
committerKees Cook <keescook@chromium.org>2022-10-01 16:46:05 +0200
commit2120635108b35ecad9c59c8b44f6cbdf4f98214e (patch)
tree40203cf8ee27891716c688d3dffd948cd14d593b /fs/afs/protocol_afs.h
parenthardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero (diff)
downloadlinux-2120635108b35ecad9c59c8b44f6cbdf4f98214e.tar.xz
linux-2120635108b35ecad9c59c8b44f6cbdf4f98214e.zip
Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
We enable -Wcast-function-type globally in the kernel to warn about mismatching types in function pointer casts. Compilers currently warn only about ABI incompability with this flag, but Clang 16 will enable a stricter version of the check by default that checks for an exact type match. This will be very noisy in the kernel, so disable -Wcast-function-type-strict without W=1 until the new warnings have been addressed. Cc: stable@vger.kernel.org Link: https://reviews.llvm.org/D134831 Link: https://github.com/ClangBuiltLinux/linux/issues/1724 Suggested-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20220930203310.4010564-1-samitolvanen@google.com
Diffstat (limited to 'fs/afs/protocol_afs.h')
0 files changed, 0 insertions, 0 deletions