Hi Chen, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc4 next-20160825] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/chengang-emindsoft-com-cn/arch-all-include-asm-bitops-Use-bool-instead-of-int-for-all-bit-test-functions/20160828-230301 config: s390-default_defconfig (attached as .config) compiler: s390x-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=s390 All errors (new ones prefixed by >>): In file included from include/linux/bitops.h:36:0, from fs/btrfs/extent_io.c:1: >> arch/s390/include/asm/bitops.h:176:15: error: unknown type name 'bool' static inline bool ^ arch/s390/include/asm/bitops.h:187:15: error: unknown type name 'bool' static inline bool ^ arch/s390/include/asm/bitops.h:198:15: error: unknown type name 'bool' static inline bool ^ arch/s390/include/asm/bitops.h:231:15: error: unknown type name 'bool' static inline bool ^ arch/s390/include/asm/bitops.h:242:15: error: unknown type name 'bool' static inline bool ^ arch/s390/include/asm/bitops.h:253:15: error: unknown type name 'bool' static inline bool ^ arch/s390/include/asm/bitops.h:264:15: error: unknown type name 'bool' static inline bool test_bit(unsigned long nr, const volatile unsigned long *ptr) ^ arch/s390/include/asm/bitops.h:273:15: error: unknown type name 'bool' static inline bool test_and_set_bit_lock(unsigned long nr, ^ arch/s390/include/asm/bitops.h:324:15: error: unknown type name 'bool' static inline bool test_bit_inv(unsigned long nr, ^ vim +/bool +176 arch/s390/include/asm/bitops.h 170 } 171 #endif 172 mask = 1UL << (nr & (BITS_PER_LONG - 1)); 173 __BITOPS_LOOP(addr, mask, __BITOPS_XOR, __BITOPS_NO_BARRIER); 174 } 175 > 176 static inline bool 177 test_and_set_bit(unsigned long nr, volatile unsigned long *ptr) 178 { 179 unsigned long *addr = __bitops_word(nr, ptr); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation