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: Sun Dec 08 2024 - 23:35:32 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7503345ac5f5e82fd9a36d6e6b447c016376403a
commit: 9c74ecfd0fc46e2eaf92c1b6169cc0c8a87f1dc2 powerpc/pseries: Add pool idle time at LPAR boot
date: 7 months ago
config: powerpc64-randconfig-r112-20241208 (https://download.01.org/0day-ci/archive/20241208/202412080850.3VU4Q6kb-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce: (https://download.01.org/0day-ci/archive/20241208/202412080850.3VU4Q6kb-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/202412080850.3VU4Q6kb-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