Re: [PATCH 02/18] vchecker: introduce the valid access checker

From: kbuild test robot
Date: Fri Dec 01 2017 - 00:09:05 EST


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-allmodconfig (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 drivers//block/skd_main.c:35:0:
>> include/linux/slab_def.h:84:24: error: field 'vchecker_cache' has incomplete type
struct vchecker_cache vchecker_cache;
^~~~~~~~~~~~~~

vim +/vchecker_cache +84 include/linux/slab_def.h

76
77 #ifdef CONFIG_MEMCG
78 struct memcg_cache_params memcg_params;
79 #endif
80 #ifdef CONFIG_KASAN
81 struct kasan_cache kasan_info;
82 #endif
83 #ifdef CONFIG_VCHECKER
> 84 struct vchecker_cache vchecker_cache;
85 #endif
86

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

Attachment: .config.gz
Description: application/gzip