All of lore.kernel.org
 help / color / mirror / Atom feed
* [kdave-btrfs-devel:ext/aota/zoned-7 133/162] arch/arm/include/asm/bitops.h:209: warning: "find_first_zero_bit" redefined
@ 2020-09-16  0:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-16  0:06 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/kdave/btrfs-devel.git ext/aota/zoned-7
head:   17046312f8c0a16a96b4b3a145f4b30be84e6ede
commit: bc960447dd5838f71d4ef88b107e8329a00c4f1d [133/162] btrfs: implement zoned chunk allocator
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout bc960447dd5838f71d4ef88b107e8329a00c4f1d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from include/linux/bitops.h:29,
                    from include/linux/kernel.h:12,
                    from include/linux/bvec.h:10,
                    from include/linux/blk_types.h:10,
                    from fs/btrfs/zoned.c:10:
>> arch/arm/include/asm/bitops.h:209: warning: "find_first_zero_bit" redefined
     209 | #define find_first_zero_bit(p,sz) _find_first_zero_bit_be(p,sz)
         | 
   In file included from fs/btrfs/zoned.c:9:
   include/asm-generic/bitops/find.h:78: note: this is the location of the previous definition
      78 | #define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0)
         | 
   In file included from include/linux/bitops.h:29,
                    from include/linux/kernel.h:12,
                    from include/linux/bvec.h:10,
                    from include/linux/blk_types.h:10,
                    from fs/btrfs/zoned.c:10:
>> arch/arm/include/asm/bitops.h:211: warning: "find_first_bit" redefined
     211 | #define find_first_bit(p,sz)  _find_first_bit_be(p,sz)
         | 
   In file included from fs/btrfs/zoned.c:9:
   include/asm-generic/bitops/find.h:75: note: this is the location of the previous definition
      75 | #define find_first_bit(addr, size) find_next_bit((addr), (size), 0)
         | 

# https://github.com/kdave/btrfs-devel/commit/bc960447dd5838f71d4ef88b107e8329a00c4f1d
git remote add kdave-btrfs-devel https://github.com/kdave/btrfs-devel.git
git fetch --no-tags kdave-btrfs-devel ext/aota/zoned-7
git checkout bc960447dd5838f71d4ef88b107e8329a00c4f1d
vim +/find_first_zero_bit +209 arch/arm/include/asm/bitops.h

^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  204  
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  205  #else
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  206  /*
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  207   * These are the big endian, atomic definitions.
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  208   */
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16 @209  #define find_first_zero_bit(p,sz)	_find_first_zero_bit_be(p,sz)
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  210  #define find_next_zero_bit(p,sz,off)	_find_next_zero_bit_be(p,sz,off)
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16 @211  #define find_first_bit(p,sz)		_find_first_bit_be(p,sz)
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  212  #define find_next_bit(p,sz,off)		_find_next_bit_be(p,sz,off)
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  213  

:::::: The code at line 209 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 76237 bytes --]

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

only message in thread, other threads:[~2020-09-16  0:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16  0:06 [kdave-btrfs-devel:ext/aota/zoned-7 133/162] arch/arm/include/asm/bitops.h:209: warning: "find_first_zero_bit" redefined kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.