Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1694321

Re: fs/binfmt_flat.c:828:9: error: void value not ignored as it ought to be

From Randy Dunlap <rdunlap@infradead.org>
Newsgroups linux.kernel
Subject Re: fs/binfmt_flat.c:828:9: error: void value not ignored as it ought to be
Date 2017-07-23 17:10 +0200
Message-ID <u6qG5-CI-7@gated-at.bofh.it> (permalink)
References <u6hMt-3oD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/22/2017 10:35 PM, kbuild test robot wrote:
> Hi Al,
> 
> FYI, the error/warning still remains.
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   4b162c530d9c101381500e586fedb1340595a6ff
> commit: 468138d78510688fb5476f98d23f11ac6a63229a binfmt_flat: flat_{get,put}_addr_from_rp() should be able to fail
> date:   3 weeks ago
> config: m32r-mappi.nommu_defconfig (attached as .config)
> compiler: m32r-linux-gcc (GCC) 6.2.0
> reproduce:
>         wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 468138d78510688fb5476f98d23f11ac6a63229a
>         # save the attached .config to linux build tree
>         make.cross ARCH=m32r 
> 
> All errors (new ones prefixed by >>):
> 

>>> fs/binfmt_flat.c:828:9: error: void value not ignored as it ought to be
>         ret = flat_put_addr_at_rp(rp, addr, relval);
>             ^

m32r and microblaze have that function as void, while all others that
implement it have it as int.


-- 
~Randy

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

fs/binfmt_flat.c:828:9: error: void value not ignored as it ought to  be kbuild test robot <fengguang.wu@intel.com> - 2017-07-23 07:40 +0200
  Re: fs/binfmt_flat.c:828:9: error: void value not ignored as it ought  to be Randy Dunlap <rdunlap@infradead.org> - 2017-07-23 17:10 +0200

csiph-web