* [norov:bitmaps 2/4] arch/arm/include/asm/bitops.h:202:31: error: conflicting types for '_find_first_bit_le'
@ 2021-04-04 12:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-04 12:14 UTC (permalink / raw)
To: kbuild-all
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-04 12:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04 12:14 [norov:bitmaps 2/4] arch/arm/include/asm/bitops.h:202:31: error: conflicting types for '_find_first_bit_le' 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.