All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/arm/mach-omap2/board-generic.c:44:6: warning: no previous prototype for 'tick_broadcast'
Date: Tue, 13 Apr 2021 04:56:31 +0800	[thread overview]
Message-ID: <202104130425.rn2Ff6CT-lkp@intel.com> (raw)

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

Hi Tony,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   89698becf06d341a700913c3d89ce2a914af69a2
commit: d86ad463d6706d35167418660ae3293207ee9d1c ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs
date:   11 months ago
config: arm-randconfig-c004-20210412 (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=d86ad463d6706d35167418660ae3293207ee9d1c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d86ad463d6706d35167418660ae3293207ee9d1c
        # 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)
         |                            ^~~~~~~~~~~~~~~~~
>> arch/arm/mach-omap2/board-generic.c:44:6: warning: no previous prototype for 'tick_broadcast' [-Wmissing-prototypes]
      44 | void tick_broadcast(const struct cpumask *mask)
         |      ^~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for TEGRA20_APB_DMA
   Depends on DMADEVICES && (ARCH_TEGRA || COMPILE_TEST
   Selected by
   - SOC_TEGRA_FUSE && ARCH_TEGRA && ARCH_TEGRA_2x_SOC


vim +/tick_broadcast +44 arch/arm/mach-omap2/board-generic.c

    41	
    42	/* Used by am437x for ARM timer in non-SMP configurations */
    43	#if !defined(CONFIG_SMP) && defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)
  > 44	void tick_broadcast(const struct cpumask *mask)
    45	{
    46	}
    47	#endif
    48	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Tony Lindgren <tony@atomide.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Arnd Bergmann <arnd@arndb.de>
Subject: arch/arm/mach-omap2/board-generic.c:44:6: warning: no previous prototype for 'tick_broadcast'
Date: Tue, 13 Apr 2021 04:56:31 +0800	[thread overview]
Message-ID: <202104130425.rn2Ff6CT-lkp@intel.com> (raw)

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

Hi Tony,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   89698becf06d341a700913c3d89ce2a914af69a2
commit: d86ad463d6706d35167418660ae3293207ee9d1c ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs
date:   11 months ago
config: arm-randconfig-c004-20210412 (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=d86ad463d6706d35167418660ae3293207ee9d1c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout d86ad463d6706d35167418660ae3293207ee9d1c
        # 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)
         |                            ^~~~~~~~~~~~~~~~~
>> arch/arm/mach-omap2/board-generic.c:44:6: warning: no previous prototype for 'tick_broadcast' [-Wmissing-prototypes]
      44 | void tick_broadcast(const struct cpumask *mask)
         |      ^~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for TEGRA20_APB_DMA
   Depends on DMADEVICES && (ARCH_TEGRA || COMPILE_TEST
   Selected by
   - SOC_TEGRA_FUSE && ARCH_TEGRA && ARCH_TEGRA_2x_SOC


vim +/tick_broadcast +44 arch/arm/mach-omap2/board-generic.c

    41	
    42	/* Used by am437x for ARM timer in non-SMP configurations */
    43	#if !defined(CONFIG_SMP) && defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)
  > 44	void tick_broadcast(const struct cpumask *mask)
    45	{
    46	}
    47	#endif
    48	

---
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: 37463 bytes --]

             reply	other threads:[~2021-04-12 20:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 20:56 kernel test robot [this message]
2021-04-12 20:56 ` arch/arm/mach-omap2/board-generic.c:44:6: warning: no previous prototype for 'tick_broadcast' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2022-06-17 11:26 kernel test robot
2021-04-26 10:51 kernel test robot
2021-04-26 10:51 ` kernel test robot
2021-01-15  1:58 kernel test robot
2021-01-15  1:58 ` 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=202104130425.rn2Ff6CT-lkp@intel.com \
    --to=lkp@intel.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.