From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [dynticks:timers/nohz-v2 7/8] kernel/time/tick-sched.c:457:17: sparse: sparse: incorrect type in argument 1 (different address spaces)
Date: Thu, 22 Apr 2021 23:06:42 +0800 [thread overview]
Message-ID: <202104222336.BCilNolt-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2325 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/nohz-v2
head: 4546d43a9938f6c7eec024f005cb240b8b73637b
commit: f137e27d98d0013808b4d7a86d349ef644c4cb98 [7/8] tick/nohz: Change signal tick dependency to wakeup CPUs of member tasks
config: x86_64-randconfig-s022-20210421 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git/commit/?id=f137e27d98d0013808b4d7a86d349ef644c4cb98
git remote add dynticks https://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
git fetch --no-tags dynticks timers/nohz-v2
git checkout f137e27d98d0013808b4d7a86d349ef644c4cb98
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=x86_64
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/tick-sched.c:457:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct lockdep_map const *lock @@ got struct lockdep_map [noderef] __rcu * @@
kernel/time/tick-sched.c:457:17: sparse: expected struct lockdep_map const *lock
kernel/time/tick-sched.c:457:17: sparse: got struct lockdep_map [noderef] __rcu *
vim +457 kernel/time/tick-sched.c
442
443 /*
444 * Set a per-taskgroup tick dependency. Posix CPU timers need this in order to elapse
445 * per process timers.
446 */
447 void tick_nohz_dep_set_signal(struct task_struct *tsk,
448 enum tick_dep_bits bit)
449 {
450 int prev;
451 struct signal_struct *sig = tsk->signal;
452
453 prev = atomic_fetch_or(BIT(bit), &sig->tick_dep_mask);
454 if (!prev) {
455 struct task_struct *t;
456
> 457 lockdep_assert_held(&tsk->sighand->siglock);
458 __for_each_thread(sig, t)
459 tick_nohz_kick_task(t);
460 }
461 }
462
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36881 bytes --]
reply other threads:[~2021-04-22 15:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202104222336.BCilNolt-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.