lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYuhipgPsHetpvBmD4GO7KGfhSRRAAgN2ZnoFUWiCKMy6Q@mail.gmail.com>
Date:   Thu, 24 Feb 2022 19:53:09 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     open list <linux-kernel@...r.kernel.org>,
        Linux-Next Mailing List <linux-next@...r.kernel.org>,
        linux-riscv <linux-riscv@...ts.infradead.org>
Cc:     "Liam R. Howlett" <Liam.Howlett@...cle.com>,
        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
Subject: [next] riscv/kernel/vdso.c:123:27: error: 'next' undeclared

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ