* [mmotm:master 157/234] mm/kasan/kasan.c:781:1: sparse: symbol '__asan_set_shadow_00' was not declared. Should it be static?
@ 2017-12-23 12:59 kbuild test robot
2017-12-23 12:59 ` [RFC PATCH mmotm] kasan: __asan_set_shadow_00 can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-12-23 12:59 UTC (permalink / raw)
To: Alexander Potapenko
Cc: kbuild-all, Johannes Weiner, Greg Hackmann, Paul Lawrence,
Andrew Morton, Linux Memory Management List
tree: 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 majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread* [RFC PATCH mmotm] kasan: __asan_set_shadow_00 can be static
2017-12-23 12:59 [mmotm:master 157/234] mm/kasan/kasan.c:781:1: sparse: symbol '__asan_set_shadow_00' was not declared. Should it be static? kbuild test robot
@ 2017-12-23 12:59 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2017-12-23 12:59 UTC (permalink / raw)
To: Alexander Potapenko
Cc: kbuild-all, Johannes Weiner, Greg Hackmann, Paul Lawrence,
Andrew Morton, Linux Memory Management List
Fixes: 1749be8333b7 ("kasan: add functions for unpoisoning stack variables")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
kasan.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/mm/kasan/kasan.c b/mm/kasan/kasan.c
index 8aaee42..dcfcb26 100644
--- a/mm/kasan/kasan.c
+++ b/mm/kasan/kasan.c
@@ -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 majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-23 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-23 12:59 [mmotm:master 157/234] mm/kasan/kasan.c:781:1: sparse: symbol '__asan_set_shadow_00' was not declared. Should it be static? kbuild test robot
2017-12-23 12:59 ` [RFC PATCH mmotm] kasan: __asan_set_shadow_00 can be static kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox