From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
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?
Date: Sun, 09 Jan 2022 03:15:07 +0800 [thread overview]
Message-ID: <202201090357.zengylDN-lkp@intel.com> (raw)
[-- 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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
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?
Date: Sun, 9 Jan 2022 03:15:07 +0800 [thread overview]
Message-ID: <202201090357.zengylDN-lkp@intel.com> (raw)
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
next reply other threads:[~2022-01-08 19:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-08 19:15 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201090357.zengylDN-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.