]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KMSAN: Remove tautological checks
authorNathan Chancellor <nathan@kernel.org>
Thu, 21 Aug 2025 21:15:49 +0000 (14:15 -0700)
committerNathan Chancellor <nathan@kernel.org>
Thu, 28 Aug 2025 23:58:46 +0000 (16:58 -0700)
commit5ff8c11775c744dc5076ce126eb1b3adce0a70ae
treeb2b5ae6402208a6816e500824b805b44d8572c78
parent573ad421cc551eb45d9ac9008395f93c070789b8
KMSAN: Remove tautological checks

Now that the minimum supported version of LLVM for building the kernel
has been bumped to 15.0.0, two KMSAN checks can be cleaned up.

CONFIG_HAVE_KMSAN_COMPILER will always be true when using clang so
remove the cc-option test and use a simple check for CONFIG_CC_IS_CLANG.

CONFIG_HAVE_KMSAN_PARAM_RETVAL will always be true so it can be removed
outright.

Acked-by: Marco Elver <elver@google.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-12-635f3294e5f0@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
lib/Kconfig.kmsan