Messages in this thread | | | Date | Sun, 12 Jun 2022 13:58:51 +0800 | From | kernel test robot <> | Subject | [rt-devel:linux-5.19.y-rt-rebase 16/51] kernel/softirq.c:641:1: sparse: sparse: symbol '__pcpu_scope_pending_timer_softirq' was not declared. Should it be static? |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.19.y-rt-rebase head: 2a0438f3107478348ce5a998e511c82f0f32316e commit: 6695684acc6e0ab2b0a84ae59933797a0e148afc [16/51] tick: Fix timer storm since introduction of timersd config: sparc64-randconfig-s032-20220612 (https://download.01.org/0day-ci/archive/20220612/202206121359.nWdmw9Ww-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 11.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-30-g92122700-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=6695684acc6e0ab2b0a84ae59933797a0e148afc 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.19.y-rt-rebase git checkout 6695684acc6e0ab2b0a84ae59933797a0e148afc # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>) kernel/softirq.c:640:1: sparse: sparse: symbol '__pcpu_scope_timersd' was not declared. Should it be static? >> kernel/softirq.c:641:1: sparse: sparse: symbol '__pcpu_scope_pending_timer_softirq' was not declared. Should it be static?
vim +/__pcpu_scope_pending_timer_softirq +641 kernel/softirq.c
639 640 DEFINE_PER_CPU(struct task_struct *, timersd); > 641 DEFINE_PER_CPU(unsigned long, pending_timer_softirq); 642
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |