arch/arm/mach-omap2/board-generic.c:44:6: warning: no previous prototype for 'tick_broadcast'
From: kernel test robot
Date: Mon Apr 26 2021 - 06:51:29 EST
Hi Tony,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9f4ad9e425a1d3b6a34617b8ea226d56a119a717
commit: d86ad463d6706d35167418660ae3293207ee9d1c ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs
date: 11 months ago
config: arm-randconfig-r002-20210426 (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 W=1 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/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)
| ^~~~~~~~~~~~~~
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@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip