All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: kbuild-all@lists.01.org
Subject: Re: arch/arm/mach-omap2/board-generic.c:36:28: warning: no previous prototype for 'omap_init_time_of'
Date: Wed, 24 Mar 2021 12:53:12 +0200	[thread overview]
Message-ID: <YFsaGGLilisiguPr@atomide.com> (raw)
In-Reply-To: <202102262120.mYjsdIAN-lkp@intel.com>

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

Hi,

* kernel test robot <lkp@intel.com> [210226 13:11]:
> Hi Tony,
> 
> FYI, the error/warning still remains.

Thanks for the report and sorry for the delay in responding. I've posted
a fix for this at:

https://lore.kernel.org/linux-omap/20210324105102.7286-1-tony(a)atomide.com/T/#u

Regards,

Tony


> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   2c87f7a38f930ef6f6a7bdd04aeb82ce3971b54b
> commit: e69b4e1a7577c169e9f52edf977401734a6a29eb ARM: OMAP2+: Add omap_init_time_of()
> date:   9 months ago
> config: arm-randconfig-r012-20210226 (attached as .config)
> compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
> 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
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e69b4e1a7577c169e9f52edf977401734a6a29eb
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout e69b4e1a7577c169e9f52edf977401734a6a29eb
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 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/board-generic.c:36:28: warning: no previous prototype for 'omap_init_time_of' [-Wmissing-prototypes]
>       36 | void __init __maybe_unused omap_init_time_of(void)
>          |                            ^~~~~~~~~~~~~~~~~
> 
> 
> vim +/omap_init_time_of +36 arch/arm/mach-omap2/board-generic.c
> 
>     34	
>     35	/* Clocks are needed early, see drivers/clocksource for the rest */
>   > 36	void __init __maybe_unused omap_init_time_of(void)
>     37	{
>     38		omap_clk_init();
>     39		timer_probe();
>     40	}
>     41	
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org


WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: Re: arch/arm/mach-omap2/board-generic.c:36:28: warning: no previous prototype for 'omap_init_time_of'
Date: Wed, 24 Mar 2021 12:53:12 +0200	[thread overview]
Message-ID: <YFsaGGLilisiguPr@atomide.com> (raw)
In-Reply-To: <202102262120.mYjsdIAN-lkp@intel.com>

Hi,

* kernel test robot <lkp@intel.com> [210226 13:11]:
> Hi Tony,
> 
> FYI, the error/warning still remains.

Thanks for the report and sorry for the delay in responding. I've posted
a fix for this at:

https://lore.kernel.org/linux-omap/20210324105102.7286-1-tony@atomide.com/T/#u

Regards,

Tony


> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   2c87f7a38f930ef6f6a7bdd04aeb82ce3971b54b
> commit: e69b4e1a7577c169e9f52edf977401734a6a29eb ARM: OMAP2+: Add omap_init_time_of()
> date:   9 months ago
> config: arm-randconfig-r012-20210226 (attached as .config)
> compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
> 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
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e69b4e1a7577c169e9f52edf977401734a6a29eb
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout e69b4e1a7577c169e9f52edf977401734a6a29eb
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 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/board-generic.c:36:28: warning: no previous prototype for 'omap_init_time_of' [-Wmissing-prototypes]
>       36 | void __init __maybe_unused omap_init_time_of(void)
>          |                            ^~~~~~~~~~~~~~~~~
> 
> 
> vim +/omap_init_time_of +36 arch/arm/mach-omap2/board-generic.c
> 
>     34	
>     35	/* Clocks are needed early, see drivers/clocksource for the rest */
>   > 36	void __init __maybe_unused omap_init_time_of(void)
>     37	{
>     38		omap_clk_init();
>     39		timer_probe();
>     40	}
>     41	
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org



  reply	other threads:[~2021-03-24 10:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-26 13:10 arch/arm/mach-omap2/board-generic.c:36:28: warning: no previous prototype for 'omap_init_time_of' kernel test robot
2021-02-26 13:10 ` kernel test robot
2021-03-24 10:53 ` Tony Lindgren [this message]
2021-03-24 10:53   ` Tony Lindgren
  -- strict thread matches above, loose matches on Subject: below --
2021-01-14 19:23 kernel test robot
2021-01-14 19:23 ` kernel test robot

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=YFsaGGLilisiguPr@atomide.com \
    --to=tony@atomide.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.