All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [norov:bitmaps 2/4] arch/arm/include/asm/bitops.h:202:31: error: conflicting types for '_find_first_bit_le'
Date: Sun, 04 Apr 2021 20:14:20 +0800	[thread overview]
Message-ID: <202104042011.dBVUf5hw-lkp@intel.com> (raw)

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

tree:   https://github.com/norov/linux bitmaps
head:   67a0aff995b74611b29d0d1996496715a365ccf3
commit: 2d0be0214aee08f489eb3d93692707ec9e916628 [2/4] remove GENERIC_FIND_FIRST_BIT
config: arm-defconfig (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
        # https://github.com/norov/linux/commit/2d0be0214aee08f489eb3d93692707ec9e916628
        git remote add norov https://github.com/norov/linux
        git fetch --no-tags norov bitmaps
        git checkout 2d0be0214aee08f489eb3d93692707ec9e916628
        # 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>

Note: the norov/bitmaps HEAD 67a0aff995b74611b29d0d1996496715a365ccf3 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   In file included from include/linux/bitops.h:32,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:20,
                    from arch/arm/include/asm/bug.h:60,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
>> arch/arm/include/asm/bitops.h:202:31: error: conflicting types for '_find_first_bit_le'
     202 | #define find_first_bit(p,sz)  _find_first_bit_le(p,sz)
         |                               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/find.h:107:15: note: in expansion of macro 'find_first_bit'
     107 | unsigned long find_first_bit(const unsigned long *addr, unsigned long size)
         |               ^~~~~~~~~~~~~~
   arch/arm/include/asm/bitops.h:165:12: note: previous declaration of '_find_first_bit_le' was here
     165 | extern int _find_first_bit_le(const unsigned long *p, unsigned size);
         |            ^~~~~~~~~~~~~~~~~~
>> arch/arm/include/asm/bitops.h:200:35: error: conflicting types for '_find_first_zero_bit_le'
     200 | #define find_first_zero_bit(p,sz) _find_first_zero_bit_le(p,sz)
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/find.h:127:15: note: in expansion of macro 'find_first_zero_bit'
     127 | unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size)
         |               ^~~~~~~~~~~~~~~~~~~
   arch/arm/include/asm/bitops.h:163:12: note: previous declaration of '_find_first_zero_bit_le' was here
     163 | extern int _find_first_zero_bit_le(const unsigned long *p, unsigned size);
         |            ^~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from include/linux/bitops.h:32,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:20,
                    from arch/arm/include/asm/bug.h:60,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
>> arch/arm/include/asm/bitops.h:202:31: error: conflicting types for '_find_first_bit_le'
     202 | #define find_first_bit(p,sz)  _find_first_bit_le(p,sz)
         |                               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/find.h:107:15: note: in expansion of macro 'find_first_bit'
     107 | unsigned long find_first_bit(const unsigned long *addr, unsigned long size)
         |               ^~~~~~~~~~~~~~
   arch/arm/include/asm/bitops.h:165:12: note: previous declaration of '_find_first_bit_le' was here
     165 | extern int _find_first_bit_le(const unsigned long *p, unsigned size);
         |            ^~~~~~~~~~~~~~~~~~
>> arch/arm/include/asm/bitops.h:200:35: error: conflicting types for '_find_first_zero_bit_le'
     200 | #define find_first_zero_bit(p,sz) _find_first_zero_bit_le(p,sz)
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/find.h:127:15: note: in expansion of macro 'find_first_zero_bit'
     127 | unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size)
         |               ^~~~~~~~~~~~~~~~~~~
   arch/arm/include/asm/bitops.h:163:12: note: previous declaration of '_find_first_zero_bit_le' was here
     163 | extern int _find_first_zero_bit_le(const unsigned long *p, unsigned size);
         |            ^~~~~~~~~~~~~~~~~~~~~~~
   make[2]: *** [scripts/Makefile.build:118: kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1331: prepare0] Error 2
   make[1]: Target 'modules_prepare' not remade because of errors.
   make: *** [Makefile:222: __sub-make] Error 2
   make: Target 'modules_prepare' not remade because of errors.
--
   error: no override and no default toolchain set
   init/Kconfig:70:warning: 'RUSTC_VERSION': number is invalid
   In file included from include/linux/bitops.h:32,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:20,
                    from arch/arm/include/asm/bug.h:60,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
>> arch/arm/include/asm/bitops.h:202:31: error: conflicting types for '_find_first_bit_le'
     202 | #define find_first_bit(p,sz)  _find_first_bit_le(p,sz)
         |                               ^~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/find.h:107:15: note: in expansion of macro 'find_first_bit'
     107 | unsigned long find_first_bit(const unsigned long *addr, unsigned long size)
         |               ^~~~~~~~~~~~~~
   arch/arm/include/asm/bitops.h:165:12: note: previous declaration of '_find_first_bit_le' was here
     165 | extern int _find_first_bit_le(const unsigned long *p, unsigned size);
         |            ^~~~~~~~~~~~~~~~~~
>> arch/arm/include/asm/bitops.h:200:35: error: conflicting types for '_find_first_zero_bit_le'
     200 | #define find_first_zero_bit(p,sz) _find_first_zero_bit_le(p,sz)
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~
   include/asm-generic/bitops/find.h:127:15: note: in expansion of macro 'find_first_zero_bit'
     127 | unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size)
         |               ^~~~~~~~~~~~~~~~~~~
   arch/arm/include/asm/bitops.h:163:12: note: previous declaration of '_find_first_zero_bit_le' was here
     163 | extern int _find_first_zero_bit_le(const unsigned long *p, unsigned size);
         |            ^~~~~~~~~~~~~~~~~~~~~~~
   make[2]: *** [scripts/Makefile.build:118: kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1331: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:222: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +/_find_first_bit_le +202 arch/arm/include/asm/bitops.h

^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  195  
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  196  #ifndef __ARMEB__
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  197  /*
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  198   * These are the little endian, atomic definitions.
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  199   */
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16 @200  #define find_first_zero_bit(p,sz)	_find_first_zero_bit_le(p,sz)
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  201  #define find_next_zero_bit(p,sz,off)	_find_next_zero_bit_le(p,sz,off)
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16 @202  #define find_first_bit(p,sz)		_find_first_bit_le(p,sz)
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  203  #define find_next_bit(p,sz,off)		_find_next_bit_le(p,sz,off)
^1da177e4c3f41 include/asm-arm/bitops.h Linus Torvalds 2005-04-16  204  

:::::: The code at line 202 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: 54671 bytes --]

                 reply	other threads:[~2021-04-04 12:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202104042011.dBVUf5hw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.