linux/arch/um/include
Christophe Leroy (CS GROUP) 210226ce6c um: Disable KASAN_INLINE when STATIC_LINK is selected
[ Upstream commit a3209bb94b ]

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: 1e338f4d99 ("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>
History 2025-12-18 14:03:29 +01:00
..
asm um: Disable KASAN_INLINE when STATIC_LINK is selected 2025-12-18 14:03:29 +01:00
linux um: work around sched_yield not yielding in time-travel mode 2025-03-18 11:06:20 +01:00
shared um: Centralize stub size calculations 2025-09-10 14:23:52 +02:00
uapi/asm um: Fix W=1 missing-include-dirs warnings 2021-04-15 23:10:57 +02:00