mm/kasan/kasan.c:781:1: sparse: symbol '__asan_set_shadow_00' was not declared. Should it be static?
Subsystems (2)
kbuild test robot
build bottree: git://git.cmpxchg.org/linux-mmotm.git master
head: a4f20e3ed193cd4b2f742ce37f88112c7441146f
commit: 1749be8333b77defc7cd0888acfaa0b87d2f53b9 [157/234] kasan: add functions for unpoisoning stack variables
reproduce:
# apt-get install sparse
git checkout 1749be8333b77defc7cd0888acfaa0b87d2f53b9
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__sparse warnings: (new ones prefixed by >>)
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
kbuild test robot
build bot[RFC PATCH mmotm] kasan: __asan_set_shadow_00 can be static
-- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a…
--- kasan.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
mm/kasan/kasan.c +6 -6
@@ -778,12 +778,12 @@ EXPORT_SYMBOL(__asan_allocas_unpoison); } \ EXPORT_SYMBOL(__asan_set_shadow_##byte) -DEFINE_ASAN_SET_SHADOW(00); -DEFINE_ASAN_SET_SHADOW (f1); -DEFINE_ASAN_SET_SHADOW (f2); -DEFINE_ASAN_SET_SHADOW (f3); -DEFINE_ASAN_SET_SHADOW (f5); -DEFINE_ASAN_SET_SHADOW (f8); +static DEFINE_ASAN_SET_SHADOW(00); +static DEFINE_ASAN_SET_SHADOW (f1); +static DEFINE_ASAN_SET_SHADOW (f2); +static DEFINE_ASAN_SET_SHADOW (f3); +static DEFINE_ASAN_SET_SHADOW (f5); +static DEFINE_ASAN_SET_SHADOW (f8);#ifdef CONFIG_MEMORY_HOTPLUG static int __meminit kasan_mem_notifier(struct notifier_block *nb,
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>