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=-8.8 required=3.0 tests=BAYES_00, 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 650D3C433DB for ; Wed, 24 Mar 2021 10:21:22 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D9B35619BB for ; Wed, 24 Mar 2021 10:21:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D9B35619BB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 61C9A6B02AE; Wed, 24 Mar 2021 06:21:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 57ED86B02AF; Wed, 24 Mar 2021 06:21:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D18D6B02B0; Wed, 24 Mar 2021 06:21:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0077.hostedemail.com [216.40.44.77]) by kanga.kvack.org (Postfix) with ESMTP id 1D0A76B02AE for ; Wed, 24 Mar 2021 06:21:21 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id D334F1814C6E7 for ; Wed, 24 Mar 2021 10:21:20 +0000 (UTC) X-FDA: 77954375520.10.5A1A2AA Received: from muru.com (muru.com [72.249.23.125]) by imf24.hostedemail.com (Postfix) with ESMTP id 89FB3A0009DC for ; Wed, 24 Mar 2021 10:21:18 +0000 (UTC) Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 0AE488057; Wed, 24 Mar 2021 10:22:15 +0000 (UTC) Date: Wed, 24 Mar 2021 12:21:16 +0200 From: Tony Lindgren To: kernel test robot Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, Linux Memory Management List Subject: Re: [linux-next:master 2194/6512] arch/arm/mach-omap2/pdata-quirks.c:578:1: warning: no previous prototype for function 'pdata_quirks_init_clocks' Message-ID: References: <202103240642.vvusWJ8u-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202103240642.vvusWJ8u-lkp@intel.com> X-Stat-Signature: phzuzybgi4e1mu6fuuam8c669yima6fw X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 89FB3A0009DC Received-SPF: none (atomide.com>: No applicable sender policy available) receiver=imf24; identity=mailfrom; envelope-from=""; helo=muru.com; client-ip=72.249.23.125 X-HE-DKIM-Result: none/none X-HE-Tag: 1616581278-297101 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: * kernel test robot [210323 22:10]: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: d949689e7383cd5271470f2b99dbe2fd3199bffd > commit: a15de032a72d511431294331f4bb47245f18b801 [2194/6512] ARM: OMAP2+: Init both prm and prcm nodes early for clocks > config: arm-randconfig-r035-20210323 (attached as .config) > compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 78a65cd945d006ff02f9d24d9cc20a302ed93b08) > 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 arm cross compiling tool for clang build > # apt-get install binutils-arm-linux-gnueabi > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a15de032a72d511431294331f4bb47245f18b801 > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout a15de032a72d511431294331f4bb47245f18b801 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> arch/arm/mach-omap2/pdata-quirks.c:578:1: warning: no previous prototype for function 'pdata_quirks_init_clocks' [-Wmissing-prototypes] > pdata_quirks_init_clocks(const struct of_device_id *omap_dt_match_table) > ^ > arch/arm/mach-omap2/pdata-quirks.c:577:1: note: declare 'static' if the function is not intended to be used outside of this translation unit > void __init > ^ > static > 1 warning generated. Thanks for the report FYI, I'm applying the following patch to fix this: https://lore.kernel.org/linux-omap/20210318135649.1286347-1-weiyongjun1@huawei.com/T/#u Regards, Tony > vim +/pdata_quirks_init_clocks +578 arch/arm/mach-omap2/pdata-quirks.c > > 576 > 577 void __init > > 578 pdata_quirks_init_clocks(const struct of_device_id *omap_dt_match_table) > 579 { > 580 struct device_node *np; > 581 int i; > 582 > 583 for (i = 0; i < ARRAY_SIZE(pdata_quirks_init_nodes); i++) { > 584 np = of_find_node_by_name(NULL, pdata_quirks_init_nodes[i]); > 585 if (!np) > 586 continue; > 587 > 588 of_platform_populate(np, omap_dt_match_table, > 589 omap_auxdata_lookup, NULL); > 590 } > 591 } > 592 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org