archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <>
To: Tony Lindgren <>
	Linux Memory Management List <>
Subject: [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: Wed, 24 Mar 2021 06:08:45 +0800	[thread overview]
Message-ID: <> (raw)

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

tree: 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 ( 78a65cd945d006ff02f9d24d9cc20a302ed93b08)
reproduce (this is a W=1 build):
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git remote add linux-next
        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
   1 warning generated.

vim +/pdata_quirks_init_clocks +578 arch/arm/mach-omap2/pdata-quirks.c

   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;
   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;
   588			of_platform_populate(np, omap_dt_match_table,
   589					     omap_auxdata_lookup, NULL);
   590		}
   591	}

0-DAY CI Kernel Test Service, Intel Corporation

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

             reply	other threads:[~2021-03-23 22:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-23 22:08 kernel test robot [this message]
2021-03-24 10:21 ` [linux-next:master 2194/6512] arch/arm/mach-omap2/pdata-quirks.c:578:1: warning: no previous prototype for function 'pdata_quirks_init_clocks' Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).