lkml.org 
[lkml]   [2022]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[ammarfaizi2-block:paulmck/linux-rcu/dev 50/50] kernel/time/timer.c:1774:1: sparse: sparse: symbol '__pcpu_scope_tick_setup_sched_timer_help_needed' was not declared. Should it be static?
tree:   https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/dev
head: d0f29964f08485944aa4c850fbedc740ce216ff9
commit: d0f29964f08485944aa4c850fbedc740ce216ff9 [50/50] EXP timers: Non-nohz_full last-resort jiffies update on IRQ entry
config: i386-randconfig-s001-20220107 (https://download.01.org/0day-ci/archive/20220109/202201090357.zengylDN-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/ammarfaizi2/linux-block/commit/d0f29964f08485944aa4c850fbedc740ce216ff9
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block paulmck/linux-rcu/dev
git checkout d0f29964f08485944aa4c850fbedc740ce216ff9
# 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=i386 SHELL=/bin/bash kernel/time/

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


sparse warnings: (new ones prefixed by >>)
>> kernel/time/timer.c:1774:1: sparse: sparse: symbol '__pcpu_scope_tick_setup_sched_timer_help_needed' was not declared. Should it be static?

vim +/__pcpu_scope_tick_setup_sched_timer_help_needed +1774 kernel/time/timer.c

1771
1772 static DEFINE_PER_CPU(unsigned long, tick_setup_sched_timer_jiffies);
1773 static DEFINE_PER_CPU(int, tick_setup_sched_timer_jiffies_count);
> 1774 DEFINE_PER_CPU(bool, tick_setup_sched_timer_help_needed);
1775

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

\
 
 \ /
  Last update: 2022-01-08 20:16    [W:0.027 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site