[next] riscv/kernel/vdso.c:123:27: error: 'next' undeclared

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

 



[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@xxxxxxxxxx>

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/



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux