linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 2194/6512] arch/arm/mach-omap2/pdata-quirks.c:578:1: warning: no previous prototype for function 'pdata_quirks_init_clocks'
@ 2021-03-23 22:08 kernel test robot
  2021-03-24 10:21 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-03-23 22:08 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: kbuild-all, clang-built-linux, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 2420 bytes --]

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 <lkp@intel.com>

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.


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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32464 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-24 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 22:08 [linux-next:master 2194/6512] arch/arm/mach-omap2/pdata-quirks.c:578:1: warning: no previous prototype for function 'pdata_quirks_init_clocks' kernel test robot
2021-03-24 10:21 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).