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 775F9C433DB for ; Tue, 12 Jan 2021 19:29:11 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E0A0B20720 for ; Tue, 12 Jan 2021 19:29:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0A0B20720 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 473616B00AE; Tue, 12 Jan 2021 14:29:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 422E96B00B0; Tue, 12 Jan 2021 14:29:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 33A816B00B1; Tue, 12 Jan 2021 14:29:10 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0156.hostedemail.com [216.40.44.156]) by kanga.kvack.org (Postfix) with ESMTP id 1E8806B00AE for ; Tue, 12 Jan 2021 14:29:10 -0500 (EST) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id D3CDF1EE6 for ; Tue, 12 Jan 2021 19:29:09 +0000 (UTC) X-FDA: 77698111218.30.chess20_6316f3e27517 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin30.hostedemail.com (Postfix) with ESMTP id A8518180B3C85 for ; Tue, 12 Jan 2021 19:29:09 +0000 (UTC) X-HE-Tag: chess20_6316f3e27517 X-Filterd-Recvd-Size: 4630 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf37.hostedemail.com (Postfix) with ESMTP for ; Tue, 12 Jan 2021 19:29:09 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 7B9772070B; Tue, 12 Jan 2021 19:29:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610479748; bh=mqV1DB0MnGhiYWEFVjzhDeBlpbQMbz/szi80YaWjCVk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HKHDJZvfXu2A3biVix6Eu0HrFbqWMSInzZ5/FyctG/AGtVE6wmujZIXIY8f58RdOO RlR6incUhleSUJ854ZUxyGaQh6b9eF92afXa9igs4XMvA1mH+lkurkKbe4YbHGR9Tf rxb712ZGR5UxfokkbtIwaAVwgwxGARLxeIPVE/qI= Date: Tue, 12 Jan 2021 20:30:16 +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 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. thanks, greg k-h From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1269007778422125592==" 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:30:16 +0100 Message-ID: In-Reply-To: List-Id: --===============1269007778422125592== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 w= rote: > > > > > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linu= x-stable-rc.git linux-4.19.y > > > > head: 610bdbf6a174c9a91e34e276a9594114b44bef74 > > > > commit: b6f69f72c15d7f973f5709c5351f378f235b3654 [1441/2773] mm: do= n'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-projec= t bc556e5685c0f97e79fb7b3c6f15cc5062db8e36) > > > > reproduce (this is a W=3D1 build): > > > > wget https://raw.githubusercontent.com/intel/lkp-tests/mast= er/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/li= nux-stable-rc.git/commit/?id=3Db6f69f72c15d7f973f5709c5351f378f235b3654 > > > > git remote add linux-stable-rc https://git.kernel.org/pub/s= cm/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.cr= oss 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 fu= nction '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 functio= n 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. thanks, greg k-h --===============1269007778422125592==--