From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A7FEC433E6 for ; Tue, 2 Feb 2021 15:07:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4970364F9E for ; Tue, 2 Feb 2021 15:07:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231256AbhBBPHR (ORCPT ); Tue, 2 Feb 2021 10:07:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234878AbhBBPFG (ORCPT ); Tue, 2 Feb 2021 10:05:06 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DD35C0613ED for ; Tue, 2 Feb 2021 07:04:25 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id g10so4997148eds.2 for ; Tue, 02 Feb 2021 07:04:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0G3Z8f+PDK069JkWrQ8kpFFGFM045F0JWs+0+AnPXR8=; b=BbcsXz69QrbR+7X4zcNLMBl639TOh1mrAX8h7yA9cLPvWthWoZbFZRzJ+4k4KYN1zy 2VU1GLeZ5EPmLV5pmOi7cP24okeT99xiipb0qQzDF+MvoiVfIYpTTVOnmUDhBnGp4ENo Mjn8flWfsqN5ed6t1/ofxatM7dVOGkvzwRiwaPwTU1b0lPbjbsbFT3vQOHWHymjKeTKP Ek/VkZaYrCF7wNbvO4GrA5TFE+fdxdvRRVZJuUSWfkIEcC81jRil0GTQTm+D6hbnAPw4 DJiBqeqUopWiI5mv0e+5PH3R3/XNhJETOGIvWhGnOV9/VhL6bCK7QpxC2ERyBbyt+lPt ExJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0G3Z8f+PDK069JkWrQ8kpFFGFM045F0JWs+0+AnPXR8=; b=IoGth7nnak/JVwjCDlJGkNcbTwmL3MFRKp5lrrH0Of0slmI1t0WbQTljHEpn3S6y6u K6mxJt8Ezo6nwVtCZ8vrvwpFOvjTbqEuAdkvxDzjAMMlWp25HUCrQLgMZOQGksqUL5E/ T7ky9yxeSbHna3gaKd/dUNOTSQI2YlnWU5OVRgpsupPpAednDI93jqJVLf4N+VDl5QBg tyB1tZxrfuUwf+3PNoyJgQIXubzyVvXkhibQUcpsphzgMw0Ly8jULqXhv6HK+DgStjBi jfvuDZVRMhHhLeVhVWdlRXLvC3pqEqu4+xxjzoTcLkRVdOavytroVr7d7QMLDNgI6rxl hlrg== X-Gm-Message-State: AOAM531yLvz8eWfDmdQSE4fRbaMl1BKeK8ahZlTmhyr5y6ELy9kzRL+d dUN9qGXjDNqtlr19uge9aSAj6GHmvKrFwItEUh3CLg== X-Google-Smtp-Source: ABdhPJx1kGQ1PUPJ1cIK+Pu4xrL9+gyYI9eGigtL4qczlfVOb3skGbXEVdPy+WQvhzGiAEm4wu1QxLfK6bqZKO5nQvs= X-Received: by 2002:a05:6402:402:: with SMTP id q2mr24348883edv.116.1612278264270; Tue, 02 Feb 2021 07:04:24 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pavel Tatashin Date: Tue, 2 Feb 2021 10:03:47 -0500 Message-ID: Subject: Re: [next] mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn' [-Werror,-Wimplicit-function-declaration] To: Naresh Kamboju Cc: Linux-Next Mailing List , linux-mm , open list , lkft-triage@lists.linaro.org, Andrew Morton , Vlastimil Babka , Michal Hocko , David Hildenbrand , Oscar Salvador , Dan Williams , Sasha Levin , Mike Kravetz , Steven Rostedt , Ingo Molnar , Jason Gunthorpe , Peter Zijlstra , Mel Gorman , Matthew Wilcox , David Rientjes , John Hubbard , Ira Weiny , James Morris , Geert Uytterhoeven Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org The same problem as fixed here: https://lore.kernel.org/linux-mm/CA+CK2bBjC8=cRsL5VhWkcevPsqSXWhsANVjsFNMERLT8vWtiQw@mail.gmail.com/ Thank you, Pasha On Tue, Feb 2, 2021 at 9:32 AM Naresh Kamboju wrote: > > Linux next tag 20210202 arm, riscv and sh builds with allnoconfig and > tinyconfig failed due to build errors. > > > make --silent --keep-going --jobs=8 > O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm > CROSS_COMPILE=arm-linux-gnueabihf- 'HOSTCC=sccache clang' 'CC=sccache > clang' zImage > mm/gup.c:96:10: error: implicit declaration of function 'is_zero_pfn' > [-Werror,-Wimplicit-function-declaration] > !is_pinnable_page(page))) > ^ > include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page' > is_zero_pfn(page_to_pfn(page))) > ^ > mm/gup.c:96:10: note: did you mean 'is_zero_ino'? > include/linux/mm.h:1133:3: note: expanded from macro 'is_pinnable_page' > is_zero_pfn(page_to_pfn(page))) > ^ > include/linux/fs.h:3045:20: note: 'is_zero_ino' declared here > static inline bool is_zero_ino(ino_t ino) > ^ > 1 error generated. > > Reported-by: Naresh Kamboju > > steps to reproduce: > -------------------------- > # TuxMake is a command line tool and Python library that provides > # portable and repeatable Linux kernel builds across a variety of > # architectures, toolchains, kernel configurations, and make targets. > # > # TuxMake supports the concept of runtimes. > # See https://docs.tuxmake.org/runtimes/, for that to work it requires > # that you install podman or docker on your system. > # > # To install tuxmake on your system globally: > # sudo pip3 install -U tuxmake > # > # See https://docs.tuxmake.org/ for complete documentation. > > tuxmake --runtime podman --target-arch arm --toolchain clang-11 > --kconfig allnoconfig > > build details: > https://builds.tuxbuild.com/1nv9wkY1T8wug0sEw2kwuFKLxhK/ > > Regressions found on sh: > > - build/gcc-10-allnoconfig > - build/gcc-9-tinyconfig > - build/gcc-8-allnoconfig > - build/gcc-10-tinyconfig > - build/gcc-9-allnoconfig > - build/gcc-8-tinyconfig > > Regressions found on riscv: > > - build/gcc-10-allnoconfig > - build/clang-11-tinyconfig > - build/clang-10-allnoconfig > - build/clang-11-allnoconfig > - build/gcc-9-tinyconfig > - build/gcc-8-allnoconfig > - build/gcc-10-tinyconfig > - build/clang-10-tinyconfig > - build/gcc-9-allnoconfig > - build/gcc-8-tinyconfig > > Regressions found on arm: > > - build/gcc-10-allnoconfig > - build/clang-11-tinyconfig > - build/clang-10-allnoconfig > - build/clang-11-allnoconfig > - build/gcc-9-tinyconfig > - build/gcc-8-allnoconfig > - build/gcc-10-tinyconfig > - build/clang-10-tinyconfig > - build/gcc-9-allnoconfig > - build/gcc-8-tinyconfig > > > - Naresh