arch/arm/mach-omap2/board-generic.c:44:6: warning: no previous prototype for 'tick_broadcast'

From: kernel test robot
Date: Fri Jun 17 2022 - 13:37:02 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 47700948a4abb4a5ae13ef943ff682a7f327547a
commit: 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8 ARM: dove: multiplatform support
date: 2 months ago
config: arm-buildonly-randconfig-r004-20220616 (https://download.01.org/0day-ci/archive/20220617/202206171947.lN5ZaG2s-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.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=09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

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

e69b4e1a7577c1 Tony Lindgren 2020-05-07 41
d86ad463d6706d Tony Lindgren 2020-05-28 42 /* Used by am437x for ARM timer in non-SMP configurations */
d86ad463d6706d Tony Lindgren 2020-05-28 43 #if !defined(CONFIG_SMP) && defined(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST)
d86ad463d6706d Tony Lindgren 2020-05-28 @44 void tick_broadcast(const struct cpumask *mask)
d86ad463d6706d Tony Lindgren 2020-05-28 45 {
d86ad463d6706d Tony Lindgren 2020-05-28 46 }
d86ad463d6706d Tony Lindgren 2020-05-28 47 #endif
d86ad463d6706d Tony Lindgren 2020-05-28 48

:::::: The code at line 44 was first introduced by commit
:::::: d86ad463d6706d35167418660ae3293207ee9d1c ARM: OMAP2+: Fix regression for using local timer on non-SMP SoCs

:::::: TO: Tony Lindgren <tony@xxxxxxxxxxx>
:::::: CC: Arnd Bergmann <arnd@xxxxxxxx>

--
0-DAY CI Kernel Test Service
https://01.org/lkp