All of lore.kernel.org
 help / color / mirror / Atom feed
* [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?
@ 2022-01-08 19:15 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-08 19:15 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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?
@ 2022-01-08 19:15 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-08 19:15 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]

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(a)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(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-08 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 19:15 [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? kernel test robot
2022-01-08 19:15 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.