[rt-devel:linux-5.16.y-rt-rebase 47/121] kernel/softirq.c:1031:27: sparse: sparse: symbol 'timer_threads' was not declared. Should it be static?

From: kernel test robot
Date: Sat Dec 04 2021 - 09:48:02 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.16.y-rt-rebase
head: 5722735c04a5dcbb1fefed204371b299529466fc
commit: 87b7f9e13d14278fe0f616d236a7139bfa9326ad [47/121] softirq: Use a dedicated thread for timer wakeups.
config: x86_64-randconfig-s022-20211203 (https://download.01.org/0day-ci/archive/20211204/202112042254.23J0OaOO-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=87b7f9e13d14278fe0f616d236a7139bfa9326ad
git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
git fetch --no-tags rt-devel linux-5.16.y-rt-rebase
git checkout 87b7f9e13d14278fe0f616d236a7139bfa9326ad
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash

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


sparse warnings: (new ones prefixed by >>)
>> kernel/softirq.c:1031:27: sparse: sparse: symbol 'timer_threads' was not declared. Should it be static?

Please review and possibly fold the followup patch.

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