Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp655996pxb; Tue, 2 Feb 2021 14:33:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJynOzMNGqB7F9XkJERw2dEMZ3Q99z7+6th4FQ/NZSoGsl9aypKiMZM+s+Fl1XgG5r+wZcRB X-Received: by 2002:a17:906:259a:: with SMTP id m26mr168638ejb.399.1612305185795; Tue, 02 Feb 2021 14:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612305185; cv=none; d=google.com; s=arc-20160816; b=efsA9KZd9LMZw+D3lkH4ctmhl11KZ8m4WE0NXOzFMwUikfUdSSU80e18Ay1rnl6yxD C4U3UQPObCdaL0fDBJpfosWkBOdrlyv935/nCXo/z34uyFwrt9TbP2BvUxsYkBr+neuw kbFCCj8g/g9+2eD6hvRNAGmKZ4+7Om3bsJK72umgAc2OIre4Y/Kg81OM3ikrhj8yxOAU 9Oh8yuAv+Ytjd7emZ/AVykVZrn8cDinz9DYE0Sfg6m3SGHFthPQqImqYkfhCMIvKI2Il tDJnGb7wL/0pWHOHBrZcu19sVvY+fwO+AmQGCjtSL2DW2xdJBVdnbWAwCvfXd0C/r4qH V8qg== 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:in-reply-to :references:mime-version:dkim-signature; bh=0G3Z8f+PDK069JkWrQ8kpFFGFM045F0JWs+0+AnPXR8=; b=POvWZNppF1RErGuL6k38yl0SYSVa+GFwQpie6lgs8I0vwSJVD9wotSE3yhvf2HykEU Ka4dlas6Df+bVogfstmFCW6GtjmK2QbUUv1L3b2HyXy+3RXvfdRAZqiSxhxLaK5beFRJ zJEA5puf8iyW1+s978/Umu3o2cD6p/xlAmpOzGXgDoXEYxaVpqd2ZVaGOcaN1oOWuGb6 092g/l+QcDeXXkwL6C2HTsrajafJ0zttUnQM0riYbZenRuNwGw7J6y14PxldmeyHJ2Q9 JcKaIBfEB5tkF/gSwuwJIelEcc7lKqikrV+xlRCFwGDHxxH4VJbwGsIEF8IIE2ijh8YK iW1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=BbcsXz69; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z95si66169ede.403.2021.02.02.14.32.39; Tue, 02 Feb 2021 14:33:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b=BbcsXz69; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230527AbhBBPHY (ORCPT + 99 others); Tue, 2 Feb 2021 10:07:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234905AbhBBPFG (ORCPT ); Tue, 2 Feb 2021 10:05:06 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DCDCC0613D6 for ; Tue, 2 Feb 2021 07:04:25 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id z22so23259695edb.9 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=XgjWfyvB30ujUuSssufuM0c2BO/LuMlOnjqCeGs0lxFEh4u1foNizx9RLEgOm1DKD3 4pDmMmWuQfoOTP2mtN9McnpEPtjNWe9+eQWJpt9hnPnTkXWz3+G7usg3HT4bRj2urNev VrRp/brBYtfSIUBEiMb8/AY3f1/fMk4h1lbWs41G+pCn+6n9IYQNfACYq7dMDc6nJ6gQ WLgna6j7NTY+ip5GvYqpeBcgflagwy50VzUhjF5lQrQe3Nb+C2HfdbsgBTkoiuTJO8ta YpiDkf5JTDY3VJMD75hH93zQn1GDIsMxikMs64aM7vSUAMAjLReaGvHP9Qm9mWp3S+C7 DUHg== X-Gm-Message-State: AOAM530cG13IOMHo28qaXw8mQ9PAWoJZyh8wAyxcAEYR9a172ssK235U V1BEB2p9G4OFOHZx/Ed/V8W7WCI2UyLIs7Yu2ZT8IA== 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-kernel@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