Re: [PATCH v2] lib: optimize cpumask_next_and()
From: kbuild test robot
Date: Thu Oct 26 2017 - 08:13:33 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: i386-randconfig-x001-201743 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
lib/find_bit.c: In function 'find_next_and_bit':
>> 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]
}
^
vim +/size +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