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 B3D26C433E0 for ; Tue, 12 Jan 2021 19:29:58 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 25C7A23123 for ; Tue, 12 Jan 2021 19:29:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 25C7A23123 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 693BD6B00B0; Tue, 12 Jan 2021 14:29:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 643F46B00B2; Tue, 12 Jan 2021 14:29:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 532426B00B3; Tue, 12 Jan 2021 14:29:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0251.hostedemail.com [216.40.44.251]) by kanga.kvack.org (Postfix) with ESMTP id 3A6AB6B00B0 for ; Tue, 12 Jan 2021 14:29:57 -0500 (EST) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 00339180AD811 for ; Tue, 12 Jan 2021 19:29:56 +0000 (UTC) X-FDA: 77698113234.28.view86_0e1737427517 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin28.hostedemail.com (Postfix) with ESMTP id D0F516C3E for ; Tue, 12 Jan 2021 19:29:56 +0000 (UTC) X-HE-Tag: view86_0e1737427517 X-Filterd-Recvd-Size: 4848 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Tue, 12 Jan 2021 19:29:56 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id BA4F72311F; Tue, 12 Jan 2021 19:29:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610479795; bh=QcTaKqpw2xF4dCiZ1yd3f/4Pv/sDiaAukOOV7YnUg2U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xGWpwMH7pVeNW1Qbd9DQhgYNbT7oiIByWSUNt/cLSX6bc+KKxHHhRb3KJxhZLkoCR ULYzYzwYxUlurNC5LsiUPeWZZPAXhDVvypDDDKQbxChjqep0sBKN1gimlh06/+hl1K MyHSV1e5PmJ3JrheFkMeOGWNSKtxcEsSBfSgPFp4= Date: Tue, 12 Jan 2021 20:31:03 +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 08:30:16PM +0100, Greg Kroah-Hartman wrote: > On Wed, Jan 13, 2021 at 12:49:52AM +0530, Souptick Joarder wrote: > > On Tue, Jan 12, 2021 at 1:32 AM Greg Kroah-Hartman > > wrote: > > > > > > 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? > > > > commit f85086f95fa3 (mm: don't rely on system state to detect > > hot-plug operations) > > which marks this function as static. > > Ah, that's not ok for stable trees. Don't worry about this, sparse > issues for stuff like this is not a big deal for stable releases. And it's already in the 4.19 tree, so I have no idea why 0-day is complaining... From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5306991340575449130==" MIME-Version: 1.0 From: Greg Kroah-Hartman To: kbuild-all@lists.01.org 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' Date: Tue, 12 Jan 2021 20:31:03 +0100 Message-ID: In-Reply-To: List-Id: --===============5306991340575449130== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Jan 12, 2021 at 08:30:16PM +0100, Greg Kroah-Hartman wrote: > On Wed, Jan 13, 2021 at 12:49:52AM +0530, Souptick Joarder wrote: > > On Tue, Jan 12, 2021 at 1:32 AM Greg Kroah-Hartman > > wrote: > > > > > > 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/li= nux-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-proj= ect bc556e5685c0f97e79fb7b3c6f15cc5062db8e36) > > > > > reproduce (this is a W=3D1 build): > > > > > wget https://raw.githubusercontent.com/intel/lkp-tests/ma= ster/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=3Db6f69f72c15d7f973f5709c5351f378f235b3654 > > > > > 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=3D$HOME/0day COMPILER=3Dclang make.= cross ARCH=3Dx86_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 *m= em_blk, void *arg) > > > > > ^ > > > > > drivers/base/node.c:429:1: note: declare 'static' if the funct= ion is not intended to be used outside of this translation unit > > > > > int register_mem_block_under_node_early(struct memory_block *m= em_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? > > = > > commit f85086f95fa3 (mm: don't rely on system state to detect > > hot-plug operations) > > which marks this function as static. > = > Ah, that's not ok for stable trees. Don't worry about this, sparse > issues for stuff like this is not a big deal for stable releases. And it's already in the 4.19 tree, so I have no idea why 0-day is complaining... --===============5306991340575449130==--