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.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 3748DC433E6 for ; Mon, 11 Jan 2021 20:02:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A490522CB3 for ; Mon, 11 Jan 2021 20:02:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A490522CB3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id C3BBA6B031C; Mon, 11 Jan 2021 15:02:32 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id BEBFD6B031E; Mon, 11 Jan 2021 15:02:32 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id ADADC6B031F; Mon, 11 Jan 2021 15:02:32 -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 991666B031C for ; Mon, 11 Jan 2021 15:02:32 -0500 (EST) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 67486180AD81A for ; Mon, 11 Jan 2021 20:02:32 +0000 (UTC) X-FDA: 77694566544.05.mine97_590851e2750f Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin05.hostedemail.com (Postfix) with ESMTP id 4884D1801FA4C for ; Mon, 11 Jan 2021 20:02:32 +0000 (UTC) X-HE-Tag: mine97_590851e2750f X-Filterd-Recvd-Size: 3945 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf02.hostedemail.com (Postfix) with ESMTP for ; Mon, 11 Jan 2021 20:02:31 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C36422B51; Mon, 11 Jan 2021 20:02:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610395350; bh=ihOu/JF+Fu8Pi8iT3G4MBjauzpMSiNJWDdEOkKaeLeM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CiFe5S8K/zBzYeWFZJ+bk8LqZMgqT06To2OiNDUQC/1/o5qlOWGZOudyBv/5LfCRo B03CEq7NWvBlSLWI4zgLQSKXSQlmPHmV027zzobTN+LBPkefEJHR4hEZk363E/4M8z +qvo0fcOS/NvFTPIvz1ArMN91V2hcWSHQXXVScJQ= Date: Mon, 11 Jan 2021 21:03:40 +0100 From: Greg Kroah-Hartman To: Souptick Joarder Cc: kernel test robot , Laurent Dufour , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Andrew Morton , Linux Memory Management List , David Hildenbrand , Oscar Salvador Subject: Re: [linux-stable-rc:linux-4.19.y 1441/2773] drivers/base/node.c:429:5: warning: no previous prototype for function 'register_mem_block_under_node_early' Message-ID: References: <202101100936.GwZyiMDo-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Jan 12, 2021 at 12:48:22AM +0530, Souptick Joarder wrote: > On Sun, Jan 10, 2021 at 6:33 AM kernel test robot wrote: > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y > > head: 610bdbf6a174c9a91e34e276a9594114b44bef74 > > commit: b6f69f72c15d7f973f5709c5351f378f235b3654 [1441/2773] mm: don't rely on system state to detect hot-plug operations > > config: x86_64-randconfig-a001-20210110 (attached as .config) > > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bc556e5685c0f97e79fb7b3c6f15cc5062db8e36) > > 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 > > # install x86_64 cross compiling tool for clang build > > # apt-get install binutils-x86-64-linux-gnu > > # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=b6f69f72c15d7f973f5709c5351f378f235b3654 > > git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > > git fetch --no-tags linux-stable-rc linux-4.19.y > > git checkout b6f69f72c15d7f973f5709c5351f378f235b3654 > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All warnings (new ones prefixed by >>): > > > > >> drivers/base/node.c:429:5: warning: no previous prototype for function 'register_mem_block_under_node_early' [-Wmissing-prototypes] > > int register_mem_block_under_node_early(struct memory_block *mem_blk, void *arg) > > ^ > > drivers/base/node.c:429:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > > int register_mem_block_under_node_early(struct memory_block *mem_blk, void *arg) > > ^ > > static > > 1 warning generated. > > It is fixed in the mainline. Will stable tree pick it from there ? What is the git commit id for this? thanks, greg k-h