On Fri, Sep 21, 2018 at 6:05 AM, kbuild test robot [off-list ref] wrote:
Hi Andrey,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.19-rc4 next-20180919]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Andrey-Konovalov/kasan-add-software-tag-based-mode-for-arm64/20180920-172444
config: x86_64-randconfig-x013-201837 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from include/linux/slab.h:129:0,
from include/linux/crypto.h:24,
from arch/x86/kernel/asm-offsets.c:9:
include/linux/kasan.h: In function 'kasan_init_slab_obj':quoted
quoted
include/linux/kasan.h:111:9: error: 'ptr' undeclared (first use in this function)
return ptr;
^~~
Right, will fix in v9.
include/linux/kasan.h:111:9: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +/ptr +111 include/linux/kasan.h
102
103 static inline void kasan_poison_slab(struct page *page) {}
104 static inline void kasan_unpoison_object_data(struct kmem_cache *cache,
105 void *object) {}
106 static inline void kasan_poison_object_data(struct kmem_cache *cache,
107 void *object) {}
108 static inline void *kasan_init_slab_obj(struct kmem_cache *cache,
109 const void *object)
110 {
> 111 return ptr;
112 }
113
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
You received this message because you are subscribed to the Google Groups "kasan-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kasan-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/201809211218.10PA6RGy%25fengguang.wu%40intel.com.
For more options, visit https://groups.google.com/d/optout.