]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
um: Disable KASAN_INLINE when STATIC_LINK is selected
authorChristophe Leroy (CS GROUP) <chleroy@kernel.org>
Sat, 29 Nov 2025 09:56:02 +0000 (10:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:29 +0000 (14:03 +0100)
commit210226ce6ca6c14f0c673dd73ec46390f0ec082f
tree9d18a9f3c4fc04e0662e833fdd5caee386ab2fb0
parent0a1254e59754f1564cc20b6d903a688cd0bd7eaa
um: Disable KASAN_INLINE when STATIC_LINK is selected

[ Upstream commit a3209bb94b36351f11e0d9e72ac44e5dd777a069 ]

um doesn't support KASAN_INLINE together with STATIC_LINK.

Instead of failing the build, disable KASAN_INLINE when
STATIC_LINK is selected.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511290451.x9GZVJ1l-lkp@intel.com/
Fixes: 1e338f4d99e6 ("kasan: introduce ARCH_DEFER_KASAN and unify static key across modes")
Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Link: https://patch.msgid.link/2620ab0bbba640b6237c50b9c0dca1c7d1142f5d.1764410067.git.chleroy@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/Kconfig
arch/um/include/asm/kasan.h