* [dynticks:timers/nohz-v2 7/8] kernel/time/tick-sched.c:457:17: sparse: sparse: incorrect type in argument 1 (different address spaces)
@ 2021-04-22 15:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-22 15:06 UTC (permalink / raw)
To: kbuild-all
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-22 15:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22 15:06 [dynticks:timers/nohz-v2 7/8] kernel/time/tick-sched.c:457:17: sparse: sparse: incorrect type in argument 1 (different address spaces) 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.