tree: git://git.cmpxchg.org/linux-mmotm.git master head: 4cfa05acb2325535f9b0731b3e95658a2f2b32d4 commit: 4af3f20d54e3abea7b6ec0f6ce08396a57890372 [53/352] mm/kasan: change kasan_check_{read,write} to return boolean config: xtensa-common_defconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 4af3f20d54e3abea7b6ec0f6ce08396a57890372 # save the attached .config to linux build tree GCC_VERSION=7.4.0 make.cross ARCH=xtensa If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from include/linux/compiler.h:252:0, from arch/xtensa/include/asm/processor.h:15, from arch/xtensa/kernel/asm-offsets.c:15: >> include/linux/kasan-checks.h:14:15: error: unknown type name 'bool' static inline bool __kasan_check_read(const volatile void *p, unsigned int size) ^~~~ include/linux/kasan-checks.h:18:15: error: unknown type name 'bool' static inline bool __kasan_check_write(const volatile void *p, unsigned int size) ^~~~ include/linux/kasan-checks.h:38:15: error: unknown type name 'bool' static inline bool kasan_check_read(const volatile void *p, unsigned int size) ^~~~ include/linux/kasan-checks.h:42:15: error: unknown type name 'bool' static inline bool kasan_check_write(const volatile void *p, unsigned int size) ^~~~ make[2]: *** [arch/xtensa/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 +/bool +14 include/linux/kasan-checks.h --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip