lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 22 May 2020 19:10:26 +0800
From:   kbuild test robot <>
To:     Will Deacon <>,
Cc:,,, Will Deacon <>,
        Peter Zijlstra <>
Subject: Re: [PATCH] bitops: Move test_bit() into bitops/atomic.h

Hi Will,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on asm-generic/master linux/master v5.7-rc6 next-20200521]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see]

base: b85051e755b0e9d6dd8f17ef1da083851b83287d
config: arm-randconfig-r021-20200522 (attached as .config)
compiler: clang version 11.0.0 ( 3393cc4cebf9969db94dc424b7a2b6195589c33b)
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <>

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from kernel/bounds.c:10:
In file included from include/linux/page-flags.h:10:
In file included from include/linux/bug.h:5:
In file included from arch/arm/include/asm/bug.h:60:
In file included from include/asm-generic/bug.h:19:
In file included from include/linux/kernel.h:12:
In file included from include/linux/bitops.h:29:
In file included from arch/arm/include/asm/bitops.h:268:
>> include/asm-generic/bitops/le.h:55:9: error: implicit declaration of function 'test_bit' [-Werror,-Wimplicit-function-declaration]
return test_bit(nr ^ BITOP_LE_SWIZZLE, addr);
1 error generated.
make[2]: *** [scripts/ kernel/bounds.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1148: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2

vim +/test_bit +55 include/asm-generic/bitops/le.h

63ab595fb6b342 Akinobu Mita 2011-03-23  52  
a56560b3b23323 Akinobu Mita 2011-03-23  53  static inline int test_bit_le(int nr, const void *addr)
a56560b3b23323 Akinobu Mita 2011-03-23  54  {
a56560b3b23323 Akinobu Mita 2011-03-23 @55  	return test_bit(nr ^ BITOP_LE_SWIZZLE, addr);
a56560b3b23323 Akinobu Mita 2011-03-23  56  }
a56560b3b23323 Akinobu Mita 2011-03-23  57  

:::::: The code at line 55 was first introduced by commit
:::::: a56560b3b233238e85205d4e8d7bded904ac2306 asm-generic: change little-endian bitops to take any pointer types

:::::: TO: Akinobu Mita <>
:::::: CC: Linus Torvalds <>

0-DAY CI Kernel Test Service, Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (33750 bytes)

Powered by blists - more mailing lists