Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1732937pxm; Thu, 24 Feb 2022 08:22:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaI8Z2DbMgh2hYHXchP1uezn0+/ve1YdEH9OtYFrbQxgc5O4J3tpLcEIBDCYseIKiUIckK X-Received: by 2002:a05:6a00:23d5:b0:4e1:7cfb:7e85 with SMTP id g21-20020a056a0023d500b004e17cfb7e85mr3581609pfc.29.1645719765627; Thu, 24 Feb 2022 08:22:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645719765; cv=none; d=google.com; s=arc-20160816; b=uaAbRqADg+p/Pg9umlpQ7+Ib4mJVvJQ5uSSfmRumv1TJheLMW/n0yzkUtwirMOIy6H aSx2BV84w/t4JI1KPhDCtFD0Nzq3HkeCY98fGmxIXqXQUoYoSWv3wWyPAitTaEknyo/+ OTV6NYvEZlhJMt9lMvdP9Ey1zn3vbV8a+G7Cgn7DSCex9f+FtcoVIs9G0GPxiNgIiIIb 55P20c9VDzz8+XrFugn3yRqnzLPqUiDdY7C33k3wsazrVm5seHSkmlseU8KSE6QzJJOy iHxcxYeJ/yDOw3CintiUv/LoxkZrZ2qubf4sg9O9mYNTADLL9Bjy/k+ob1L1t2Ag+s5H lZsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=GVCRdf20z2if/WXkRWAWqNzxqWMrdd3fec2HBGui9Y4=; b=iMbaklpC1c2xX7Cxi+C7J+/5K1pl/8TAX5CeZuEzDYcHVfp+dabnBUwodcHCyvVDjo 4JW8D4n9UIwVxZILRdNcpzLM+dR08aGByn5tXxNHDMnRJ8TUkruCA2Lwaz/lMirRw9Gv 77FmxutF8yVhdmvUnDphMf4wTg3hn65hDNRdykHlp/XbjKo+CZqWpdzomnw+v+VL4vtG w4Wbf2JF+6ezOEblC3Ed5r/7NWyFeU12dqU89KGAkQOX8v0rQWociYcOYWVIFcwg5VNL c1p61W34D6KdpxS0+E9Bnv4Tj7fxbUzkPl02XFvSCk7hHzsb5koMq7FfHK3E8eGrqC2R TE4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vpT0MGtj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d15si3021831pfu.30.2022.02.24.08.22.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:22:45 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vpT0MGtj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B4B6E18E3E2; Thu, 24 Feb 2022 08:12:54 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235496AbiBXOYK (ORCPT + 99 others); Thu, 24 Feb 2022 09:24:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235494AbiBXOX6 (ORCPT ); Thu, 24 Feb 2022 09:23:58 -0500 Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34341637F3 for ; Thu, 24 Feb 2022 06:23:21 -0800 (PST) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-2d641c31776so26571717b3.12 for ; Thu, 24 Feb 2022 06:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=GVCRdf20z2if/WXkRWAWqNzxqWMrdd3fec2HBGui9Y4=; b=vpT0MGtjheNDD9UYyeQ9IF6ps2q6c5IYS7+YVX48yc4tWpxLckATwez9vl/fmKvKOu Un5tTk7mFMOKmEWwBimuEknvcP6F2sB3NkCGOVULWA773CqcI2y5x05UrJOEey09Y1Qe OJShbXk5oyDvWqTq2i9Ka5PCylSOR65FEwGo+hLe7OBJJig283XCAj/gVM7L7OOgVVkt XNRb/aPlYGIrf3l6nSI8wk/DbPGeeiUIuLdESZg34GXkZggbWQM6xlBatPy6Dy+uJnjp QWqq5zGiDQokTk0lCmwIrW6YT4xsP5OmXZCfFSVzLpNS4fCcMsnPPNCUwqQQerPw/0V7 QxZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=GVCRdf20z2if/WXkRWAWqNzxqWMrdd3fec2HBGui9Y4=; b=cEgWPjoJWoAqAXnFZ46jXO7NnDkJEdtbCxxG+wQ3gfeX5+ytvtkqx068eXn3EgQOSD 6eCYzpIk5egdPqUwCtrs8Np2J4phXdsFleiDdt0GJNDA+CgDOqx+RVhkCYiErw9KFthf /0Ttm2pKEFxdrlX5ZzED/CW1uzjrTv0aSI9Qkc0/qsV1phYdQRfBr9RjANfbIgbQOYLg vafKXvgHgg0UhkYzBSXNMSamDuYwR8+1rzr1pvO65xWkIV7r2sZN46TH/SrktZzo26WR menvfEh1Sbks0JMb1YPnF/wzdeMwJXojqGaWcB75icjiAekElOn6lVQvAf1ek5hze/MG iNWg== X-Gm-Message-State: AOAM530mpSwybQj1piA+bkfk5BbeugQSNyOk/ytgdhrOORqP6Zh2KtTc SPQMVxLAh5/6tYmvf4fAzendxr++7bYe6S0Ft0hUXcCXzFz+0g== X-Received: by 2002:a81:7812:0:b0:2d0:8c2c:5159 with SMTP id t18-20020a817812000000b002d08c2c5159mr2626955ywc.120.1645712600221; Thu, 24 Feb 2022 06:23:20 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 24 Feb 2022 19:53:09 +0530 Message-ID: Subject: [next] riscv/kernel/vdso.c:123:27: error: 'next' undeclared To: open list , Linux-Next Mailing List , linux-riscv Cc: "Liam R. Howlett" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Tong Tiangen , Kefeng Wang , Jisheng Zhang , Stephen Rothwell , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [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 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/