Hi Joonsoo,

I love your patch! Yet something to improve:

[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.15-rc1 next-20171130]
[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/js1304-gmail-com/introduce-a-new-tool-valid-access-checker/20171201-090908
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: x86_64-randconfig-x011-201748 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
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/crypto.h:24:0,
                    from arch/x86/kernel/asm-offsets.c:9:
   include/linux/slab.h: In function 'kmem_cache_alloc_trace':
>> include/linux/slab.h:424:2: error: implicit declaration of function 
>> 'vchecker_kmalloc'; did you mean '__kmalloc'? 
>> [-Werror=implicit-function-declaration]
     vchecker_kmalloc(s, ret, size, _THIS_IP_);
     ^~~~~~~~~~~~~~~~
     __kmalloc
   cc1: some warnings being treated as errors
   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 +424 include/linux/slab.h

   416  
   417  #else /* CONFIG_TRACING */
   418  static __always_inline void *kmem_cache_alloc_trace(struct kmem_cache 
*s,
   419                  gfp_t flags, size_t size)
   420  {
   421          void *ret = kmem_cache_alloc(s, flags);
   422  
   423          kasan_kmalloc(s, ret, size, flags);
 > 424          vchecker_kmalloc(s, ret, size, _THIS_IP_);
   425          return ret;
   426  }
   427  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to