arch/powerpc/platforms/pseries/lparcfg.c:189:15: sparse: sparse: symbol 'boot_pool_idle_time' was not declared. Should it be static?

From: kernel test robot
Date: Tue Nov 05 2024 - 00:55:12 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2e1b3cc9d7f790145a80cb705b168f05dab65df2
commit: 9c74ecfd0fc46e2eaf92c1b6169cc0c8a87f1dc2 powerpc/pseries: Add pool idle time at LPAR boot
date: 6 months ago
config: powerpc64-randconfig-r132-20241104 (https://download.01.org/0day-ci/archive/20241105/202411051330.xDtEUGBZ-lkp@xxxxxxxxx/config)
compiler: powerpc64-linux-gcc (GCC) 14.1.0
reproduce: (https://download.01.org/0day-ci/archive/20241105/202411051330.xDtEUGBZ-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411051330.xDtEUGBZ-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> arch/powerpc/platforms/pseries/lparcfg.c:189:15: sparse: sparse: symbol 'boot_pool_idle_time' was not declared. Should it be static?

vim +/boot_pool_idle_time +189 arch/powerpc/platforms/pseries/lparcfg.c

188
> 189 unsigned long boot_pool_idle_time;
190

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki