linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 263/281] lib/find_bit.c:206:9: error: too few arguments to function '_find_next_bit_le'
@ 2017-11-03 23:57 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-11-03 23:57 UTC (permalink / raw)
  To: Clement Courbet
  Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List

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

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   f1560529a066beae1f8bc50a2139b796c01534f1
commit: b7e40e310c7b95ed30649362d39f60dc79220d03 [263/281] lib: optimize cpumask_next_and()
config: parisc-c3000_defconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b7e40e310c7b95ed30649362d39f60dc79220d03
        # save the attached .config to linux build tree
        make.cross ARCH=parisc 

All error/warnings (new ones prefixed by >>):

   lib/find_bit.c: In function 'find_next_zero_bit_le':
>> lib/find_bit.c:206:33: warning: passing argument 2 of '_find_next_bit_le' makes pointer from integer without a cast [-Wint-conversion]
     return _find_next_bit_le(addr, size, offset, ~0UL);
                                    ^~~~
   lib/find_bit.c:169:22: note: expected 'const long unsigned int *' but argument is of type 'long unsigned int'
    static unsigned long _find_next_bit_le(const unsigned long *addr1,
                         ^~~~~~~~~~~~~~~~~
>> lib/find_bit.c:206:9: error: too few arguments to function '_find_next_bit_le'
     return _find_next_bit_le(addr, size, offset, ~0UL);
            ^~~~~~~~~~~~~~~~~
   lib/find_bit.c:169:22: note: declared here
    static unsigned long _find_next_bit_le(const unsigned long *addr1,
                         ^~~~~~~~~~~~~~~~~
   lib/find_bit.c: In function 'find_next_bit_le':
   lib/find_bit.c:215:33: warning: passing argument 2 of '_find_next_bit_le' makes pointer from integer without a cast [-Wint-conversion]
     return _find_next_bit_le(addr, size, offset, 0UL);
                                    ^~~~
   lib/find_bit.c:169:22: note: expected 'const long unsigned int *' but argument is of type 'long unsigned int'
    static unsigned long _find_next_bit_le(const unsigned long *addr1,
                         ^~~~~~~~~~~~~~~~~
   lib/find_bit.c:215:9: error: too few arguments to function '_find_next_bit_le'
     return _find_next_bit_le(addr, size, offset, 0UL);
            ^~~~~~~~~~~~~~~~~
   lib/find_bit.c:169:22: note: declared here
    static unsigned long _find_next_bit_le(const unsigned long *addr1,
                         ^~~~~~~~~~~~~~~~~
   lib/find_bit.c: In function 'find_next_zero_bit_le':
   lib/find_bit.c:207:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   lib/find_bit.c: In function 'find_next_bit_le':
   lib/find_bit.c:216:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/_find_next_bit_le +206 lib/find_bit.c

930ae745 lib/find_next_bit.c Akinobu Mita 2006-03-26  201  
2c57a0e2 lib/find_next_bit.c Yury Norov   2015-04-16  202  #ifndef find_next_zero_bit_le
2c57a0e2 lib/find_next_bit.c Yury Norov   2015-04-16  203  unsigned long find_next_zero_bit_le(const void *addr, unsigned
2c57a0e2 lib/find_next_bit.c Yury Norov   2015-04-16  204  		long size, unsigned long offset)
2c57a0e2 lib/find_next_bit.c Yury Norov   2015-04-16  205  {
2c57a0e2 lib/find_next_bit.c Yury Norov   2015-04-16 @206  	return _find_next_bit_le(addr, size, offset, ~0UL);
930ae745 lib/find_next_bit.c Akinobu Mita 2006-03-26  207  }
c4945b9e lib/find_next_bit.c Akinobu Mita 2011-03-23  208  EXPORT_SYMBOL(find_next_zero_bit_le);
19de85ef lib/find_next_bit.c Akinobu Mita 2011-05-26  209  #endif
930ae745 lib/find_next_bit.c Akinobu Mita 2006-03-26  210  

:::::: The code at line 206 was first introduced by commit
:::::: 2c57a0e233d72f8c2e2404560dcf0188ac3cf5d7 lib: find_*_bit reimplementation

:::::: TO: Yury Norov <yury.norov@gmail.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 15268 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-03 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-03 23:57 [mmotm:master 263/281] lib/find_bit.c:206:9: error: too few arguments to function '_find_next_bit_le' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).