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=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable 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 57811C56201 for ; Tue, 24 Nov 2020 05:50:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B8CBF2087D for ; Tue, 24 Nov 2020 05:50:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8CBF2087D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D304A6B005D; Tue, 24 Nov 2020 00:50:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id CE06D6B0070; Tue, 24 Nov 2020 00:50:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BD07A6B0071; Tue, 24 Nov 2020 00:50:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0083.hostedemail.com [216.40.44.83]) by kanga.kvack.org (Postfix) with ESMTP id 8FC676B005D for ; Tue, 24 Nov 2020 00:50:16 -0500 (EST) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 2DAAE8249980 for ; Tue, 24 Nov 2020 05:50:16 +0000 (UTC) X-FDA: 77518236432.14.spoon39_2f17db32736b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin14.hostedemail.com (Postfix) with ESMTP id EAB8A18229835 for ; Tue, 24 Nov 2020 05:50:15 +0000 (UTC) X-HE-Tag: spoon39_2f17db32736b X-Filterd-Recvd-Size: 4493 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by imf17.hostedemail.com (Postfix) with ESMTP for ; Tue, 24 Nov 2020 05:50:13 +0000 (UTC) IronPort-SDR: Zg8f+KCwY7b9/huc8R5FcRMdlzZBe3EdobLBzOrjFMpc7DKydOTQqmmpTbiOlaP95jrCai0jjd p+rRY/QloKEQ== X-IronPort-AV: E=McAfee;i="6000,8403,9814"; a="172051234" X-IronPort-AV: E=Sophos;i="5.78,365,1599548400"; d="scan'208";a="172051234" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2020 21:50:11 -0800 IronPort-SDR: t3RNwX1Map1jDRetTwQUGnvO5neixIETF0IOkNUrd2EFFaKVPHkszkyG3YJJKTWrxJWffbgP6k t3/wakbV2wmA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,365,1599548400"; d="scan'208";a="432500792" Received: from pl-dbox.sh.intel.com (HELO intel.com) ([10.239.159.39]) by fmsmga001.fm.intel.com with ESMTP; 23 Nov 2020 21:50:09 -0800 Date: Tue, 24 Nov 2020 13:45:39 +0800 From: Philip Li To: Dan Williams Cc: kernel test robot , kbuild-all@lists.01.org, Linux Kernel Mailing List , Andrew Morton , Linux Memory Management List , Thomas Gleixner , Christoph Hellwig Subject: Re: arch/powerpc/mm/book3s64/pgtable.c:174:15: error: no previous prototype for 'create_section_mapping' Message-ID: <20201124054539.GB20421@intel.com> References: <202011241003.eYk8XbNj-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) 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: On Mon, Nov 23, 2020 at 07:20:46PM -0800, Dan Williams wrote: > On Mon, Nov 23, 2020 at 6:13 PM kernel test robot wrote: > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > head: d5beb3140f91b1c8a3d41b14d729aefa4dcc58bc > > commit: a927bd6ba952d13c52b8b385030943032f659a3e mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports > > date: 31 hours ago > > config: powerpc-randconfig-r024-20201123 (attached as .config) > > compiler: powerpc64le-linux-gcc (GCC) 9.3.0 > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a927bd6ba952d13c52b8b385030943032f659a3e > > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > git fetch --no-tags linus master > > git checkout a927bd6ba952d13c52b8b385030943032f659a3e > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > >> arch/powerpc/mm/book3s64/pgtable.c:174:15: error: no previous prototype for 'create_section_mapping' [-Werror=missing-prototypes] > > 174 | int __meminit create_section_mapping(unsigned long start, unsigned long end, > > | ^~~~~~~~~~~~~~~~~~~~~~ > > arch/powerpc/mm/book3s64/pgtable.c:405:6: error: no previous prototype for 'arch_report_meminfo' [-Werror=missing-prototypes] > > 405 | void arch_report_meminfo(struct seq_file *m) > > | ^~~~~~~~~~~~~~~~~~~ > > arch/powerpc/mm/book3s64/pgtable.c:461:5: error: no previous prototype for 'pmd_move_must_withdraw' [-Werror=missing-prototypes] > > 461 | int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl, > > | ^~~~~~~~~~~~~~~~~~~~~~ > > cc1: all warnings being treated as errors > > > > vim +/create_section_mapping +174 arch/powerpc/mm/book3s64/pgtable.c > > The whack-a-mole continues... the kbuild-robot success report I > received gave me too much confidence. sorry Dan, this is a newly generated randconfig, which is not in the coverage of build success report. Sorry for the confusion. >