Re: [liu-song6-linux:uprobe-thp 119/186] kernel/sysctl.c:1730:15: error: 'one' undeclared here (not in a function); did you mean 'zone'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 12, 2019 at 7:44 PM kbuild test robot <lkp@xxxxxxxxx> wrote:
>
> Hi Matteo,
>
> FYI, the error/warning still remains.
>
> tree:   https://github.com/liu-song-6/linux.git uprobe-thp
> head:   9581ef888499040962ffc3287d8fc04ced9c2690
> commit: 115fe47f84b1b7e9673aa9ffc0d5a4a9bb0ade15 [119/186] proc/sysctl: add shared variables for range check
> config: m68k-sun3_defconfig (attached as .config)
> compiler: m68k-linux-gcc (GCC) 7.4.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 115fe47f84b1b7e9673aa9ffc0d5a4a9bb0ade15
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.4.0 make.cross ARCH=m68k
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
>    kernel/sysctl.c:1729:15: error: 'zero' undeclared here (not in a function); did you mean 'zero_ul'?
>       .extra1  = &zero,
>                   ^~~~
>                   zero_ul
> >> kernel/sysctl.c:1730:15: error: 'one' undeclared here (not in a function); did you mean 'zone'?
>       .extra2  = &one,
>                   ^~~
>                   zone
>
> vim +1730 kernel/sysctl.c
>

Hi,

this is because the following commit references 'zero'.

commit cefdca0a86be517bc390fc4541e3674b8e7803b0
Author: Peter Xu <peterx@xxxxxxxxxx>
Date:   Mon May 13 17:16:41 2019 -0700

    userfaultfd/sysctl: add vm.unprivileged_userfaultfd

I will make a patch for linux-next which Song can backport into his tree.

Bye,
-- 
Matteo Croce
per aspera ad upstream




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux