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 B513CC433E6 for ; Tue, 2 Feb 2021 15:05:17 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 2D53A64F5F for ; Tue, 2 Feb 2021 15:05:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D53A64F5F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=soleen.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 814CA6B006C; Tue, 2 Feb 2021 10:05:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7C59D6B0071; Tue, 2 Feb 2021 10:05:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 703066B0072; Tue, 2 Feb 2021 10:05:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0247.hostedemail.com [216.40.44.247]) by kanga.kvack.org (Postfix) with ESMTP id 571516B006C for ; Tue, 2 Feb 2021 10:05:16 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C9EC43633 for ; Tue, 2 Feb 2021 15:05:15 +0000 (UTC) X-FDA: 77773650990.22.cake58_2805852275cb Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin22.hostedemail.com (Postfix) with ESMTP id B08071803AA65 for ; Tue, 2 Feb 2021 15:04:26 +0000 (UTC) X-HE-Tag: cake58_2805852275cb X-Filterd-Recvd-Size: 6581 Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by imf26.hostedemail.com (Postfix) with ESMTP for ; Tue, 2 Feb 2021 15:04:25 +0000 (UTC) Received: by mail-ed1-f44.google.com with SMTP id c6so23294595ede.0 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=S5ZiYVkfxG8p3EjpCNo6nlEnDVF6pgxRQBKtEvvchmXF2aXxllOKKksaJIgiCjXEqy MMyB7zw96FcdKB1yb5tX7YjWfWiZiZTsmkcx4U6FlTXFNv+Dqqwbi60EpN1uh8ysKEKu UUoxK8finEaxQACZmYq9Y2P+JeOQCv1x/OHtZTjDI5EhYaWhUWgn4pvJSitDxz3VTPqc j4+x2C44iA5aEK2PjcHmIjwMdAkfZSXLj/NaTzBSMlPgL3TmfFEz8/ZWFH9quaorJAyf QxabMiyP6w7kV8C+1UbtAt3DvpBvMXAEQS64A0JbTmaD7I30/4b5ZBX+OfZRxouVl2BF iZWw== X-Gm-Message-State: AOAM532ZClk9svx/yvPe27YAiFH2CjZ8gdFFYr1cssNwt3VyAyQXFS57 7zdINt8MPCv5uFjgdN1r0fDFtvmkHqoqFNBez5L6KA== 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" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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