[linux-next:master 2194/6512] arch/arm/mach-omap2/pdata-quirks.c:578:1: warning: no previous prototype for function 'pdata_quirks_init_clocks'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux