[lkml]   [2017]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] lib: optimize cpumask_next_and()
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]

config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
wget -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

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

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation
[unhandled content-type:application/gzip]
 \ /
  Last update: 2017-10-26 14:23    [W:0.084 / U:3.956 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site