Fixes: 1749be8333b7 ("kasan: add functions for unpoisoning stack variables") Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx> --- 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@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>