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=-7.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 0C0ECC433E0 for ; Tue, 12 Jan 2021 19:20:12 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8963B2310A for ; Tue, 12 Jan 2021 19:20:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8963B2310A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id CA4056B00AD; Tue, 12 Jan 2021 14:20:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C53D26B00AE; Tue, 12 Jan 2021 14:20:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B436F6B00AF; Tue, 12 Jan 2021 14:20:10 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0244.hostedemail.com [216.40.44.244]) by kanga.kvack.org (Postfix) with ESMTP id 932B56B00AD for ; Tue, 12 Jan 2021 14:20:10 -0500 (EST) Received: from smtpin27.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 2C7DB362E for ; Tue, 12 Jan 2021 19:20:06 +0000 (UTC) X-FDA: 77698088412.27.scene41_140eb3227517 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin27.hostedemail.com (Postfix) with ESMTP id E15333D668 for ; Tue, 12 Jan 2021 19:20:05 +0000 (UTC) X-HE-Tag: scene41_140eb3227517 X-Filterd-Recvd-Size: 5584 Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com [209.85.221.177]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Tue, 12 Jan 2021 19:20:05 +0000 (UTC) Received: by mail-vk1-f177.google.com with SMTP id e27so882755vkn.2 for ; Tue, 12 Jan 2021 11:20:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=i0n0baEhIZB6PLVxfawhkdvZ9JWiMrHgUJ5jvwqBFKI=; b=PNo9HvdjsAu2GXHtyieTDIBvDEgAyM5Ly7T7JcjnBpm/wkNlFUFOcfk7T8e+w4UgBH i51616WUqunaCJ2qpmuT0gmUjQ+obcZM2xS/fn7bq+vdBGUiYW7i5Yl+rGKam/MJvTTe cxGUjmqmyvQkcwRKHQHpcfaissOF9KOFT2UMGFdYtH2k8Cs12Yl5TPuX+A6EuGMenhUr xtqiNczCXmO5N8O+KnbW6MGV8orhZW2MfNnwLMjSrIBfSMYUEkBl6dottid5oFiNjqMh FSqShfEXCZyJjqpiOHvtJgBdHy9nh0/xS/ZATk+Mfb87j+z/BW3IXJw99vKHsr/YZaus veOA== 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=i0n0baEhIZB6PLVxfawhkdvZ9JWiMrHgUJ5jvwqBFKI=; b=Uj0lMAyrHF9NB5R3LBFJOG+wkjmjgpdPl3tr97gasbcWZEMLrldyt8muEN8F9QqO9+ cEwejeh00PhK2wjZ30yqr2ulD400MkhVA4rIyRBF0ZQ7oGZoNVk7Te0fDkeVyTpCg8cX 1UXltPgD4EUM1ZJHu7uvS0GyTE8//m2uZZTirGn2FtVUiVHpVSSTeRQIKuAzSFXNYI+P soW2ictPxOP5eEp9o6IS34UjmBtrGG/2x0bP1Qximu6kvipvCDgXmMsnRVaPj6xkpVL1 gkjLAuXKJar1U1w/s9jtxt2KlM443ysDkMab+Y9MIi7UjrLQiQe3jHZTdkB9KrbmXebY 7wAw== X-Gm-Message-State: AOAM5306aCTK5xa7BSTiBCVHOpY+GSK0pow0qn4l0l/gbfGb8cE+flfd 4C0EI1j6QNFGqIYWM1WduWIQRvYTKQONDX/GU2Y= X-Google-Smtp-Source: ABdhPJxxFq1382klZpJ7H9nohmS4QX2SB9X6r6sq6qWYFAy777ksTPh5vI1S8Z7esY6WjpD0W8gW3hAK/Y3fxSRIICU= X-Received: by 2002:ac5:c92e:: with SMTP id u14mr1166960vkl.15.1610479204636; Tue, 12 Jan 2021 11:20:04 -0800 (PST) MIME-Version: 1.0 References: <202101100936.GwZyiMDo-lkp@intel.com> In-Reply-To: From: Souptick Joarder Date: Wed, 13 Jan 2021 00:49:52 +0530 Message-ID: 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' To: Greg Kroah-Hartman 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 Content-Type: text/plain; charset="UTF-8" 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 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. > > thanks, > > greg k-h