Re: [PATCH v2] lib: optimize cpumask_next_and()

From: kbuild test robot
Date: Thu Oct 26 2017 - 08:23:17 EST


Hi Clement,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.14-rc6 next-20171018]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Clement-Courbet/lib-optimize-cpumask_next_and/20171026-184850
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k

All errors (new ones prefixed by >>):

lib/find_bit.c: In function 'find_next_and_bit':
>> lib/find_bit.c:92:2: error: implicit declaration of function '_find_next_bit' [-Werror=implicit-function-declaration]
return _find_next_bit(addr1, addr2, size, offset, ~0UL);
^
lib/find_bit.c:92:38: error: 'size' undeclared (first use in this function)
return _find_next_bit(addr1, addr2, size, offset, ~0UL);
^
lib/find_bit.c:92:38: note: each undeclared identifier is reported only once for each function it appears in
lib/find_bit.c:92:44: error: 'offset' undeclared (first use in this function)
return _find_next_bit(addr1, addr2, size, offset, ~0UL);
^
lib/find_bit.c:93:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc1: some warnings being treated as errors

vim +/_find_next_bit +92 lib/find_bit.c

86
87 #if !defined(find_next_and_bit)
88 unsigned long find_next_and_bit(const unsigned long *addr1,
89 const unsigned long *addr2, unsigned long nbits,
90 unsigned long start)
91 {
> 92 return _find_next_bit(addr1, addr2, size, offset, ~0UL);
93 }
94 EXPORT_SYMBOL(find_next_and_bit);
95 #endif
96

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip