linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Clement Courbet <courbet@google.com>
Cc: kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [mmotm:master 263/281] lib/find_bit.c:206:9: error: too few arguments to function '_find_next_bit_le'
Date: Sat, 4 Nov 2017 07:57:23 +0800	[thread overview]
Message-ID: <201711040716.UHwZljZv%fengguang.wu@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2017-11-03 23:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201711040716.UHwZljZv%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=courbet@google.com \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox