linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 53/352] include/linux/kasan-checks.h:14:15: error: unknown type name 'bool'
@ 2019-07-05  2:07 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-07-05  2:07 UTC (permalink / raw)
  To: Marco Elver
  Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 2115 bytes --]

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@intel.com>

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 11193 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-05  2:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05  2:07 [mmotm:master 53/352] include/linux/kasan-checks.h:14:15: error: unknown type name 'bool' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox