[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220224165426.kihlm6bzwuvbjaot@revolver>
Date: Thu, 24 Feb 2022 16:54:36 +0000
From: Liam Howlett <liam.howlett@...cle.com>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
CC: open list <linux-kernel@...r.kernel.org>,
Linux-Next Mailing List <linux-next@...r.kernel.org>,
linux-riscv <linux-riscv@...ts.infradead.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Tong Tiangen <tongtiangen@...wei.com>,
Kefeng Wang <wangkefeng.wang@...wei.com>,
Jisheng Zhang <jszhang@...nel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
"lkft-triage@...ts.linaro.org" <lkft-triage@...ts.linaro.org>
Subject: Re: [next] riscv/kernel/vdso.c:123:27: error: 'next' undeclared
* Naresh Kamboju <naresh.kamboju@...aro.org> [220224 09:23]:
> [Please ignore this email if it is already reported]
>
> Linux next-20220223 arch riscv builds failed due to following errors.
> Build configs:
> - riscv-gcc-9-defconfig
> - riscv-gcc-9-defconfig
> - riscv-gcc-10-defconfig
> - riscv-gcc-11-defconfig
>
> metadata:
> git_ref: master
> git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
> git_sha: d4a0ae62a277377de396850ed4b709b6bd9b7326
> git_describe: next-20220223
> arch: riscv
> toolchain: gcc-11
>
> Build error:
> -----------
> In file included from arch/riscv/kernel/vdso.c:10:
> arch/riscv/kernel/vdso.c: In function 'vdso_join_timens':
> arch/riscv/kernel/vdso.c:123:27: error: 'next' undeclared (first use
> in this function); did you mean 'net'?
> 123 | for_each_vma(vmi, next) {
> | ^~~~
> include/linux/mm.h:685:49: note: in definition of macro 'for_each_vma'
> 685 | #define for_each_vma(vmi, vma) while ((vma =
> vma_next(&(vmi))) != NULL)
> | ^~~
> arch/riscv/kernel/vdso.c:123:27: note: each undeclared identifier is
> reported only once for each function it appears in
> 123 | for_each_vma(vmi, next) {
> | ^~~~
> include/linux/mm.h:685:49: note: in definition of macro 'for_each_vma'
> 685 | #define for_each_vma(vmi, vma) while ((vma =
> vma_next(&(vmi))) != NULL)
> | ^~~
> make[3]: *** [scripts/Makefile.build:288: arch/riscv/kernel/vdso.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [scripts/Makefile.build:614: arch/riscv/kernel] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [Makefile:1971: arch/riscv] Error 2
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>
> Steps to reproduce:
> ------------------
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
>
> tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
> --kconfig defconfig
>
> --
> Linaro LKFT
> https://lkft.linaro.org
>
> [1] https://builds.tuxbuild.com/25XO99nwfQgKrWKz4yfBPYw0wyU/
I have fixed this for linux-next.
Thanks,
Liam
Powered by blists - more mailing lists