aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2021-09-29 16:18:03 -0500
committerGustavo A. R. Silva <gustavoars@kernel.org>2021-11-15 13:45:12 -0600
commit552a23a0e5d0a84cecd4687043d8030673981d30 (patch)
treedb0e4f87053ea2101e57f9bdeed517dfda69a7e1 /arch
parentLinux 5.16-rc1 (diff)
downloadlinux-dev-552a23a0e5d0a84cecd4687043d8030673981d30.tar.xz
linux-dev-552a23a0e5d0a84cecd4687043d8030673981d30.zip
Makefile: Enable -Wcast-function-type
In order to make sure new function cast mismatches are not introduced in the kernel (to avoid tripping CFI checking), the kernel should be globally built with -Wcast-function-type. Link: https://github.com/KSPP/linux/issues/20 Co-developed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions