* [mingo-tip:sched/headers 90/2574] kernel/sched/deadline.c:1883:50: sparse: sparse: cast removes address space '__rcu' of expression
@ 2022-02-21 3:44 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-21 3:44 UTC (permalink / raw)
To: Ingo Molnar; +Cc: kbuild-all, linux-kernel
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 39e8a0edc8fae20758051dadf7846849edc18b88
commit: d58c0a66fcb697b448eee902e4d8faa3ebe21c0d [90/2574] headers/deps: sched/deadline: Move task->dl to per_task
config: sparc64-randconfig-s031-20220220 (https://download.01.org/0day-ci/archive/20220221/202202211135.6YTPVoRB-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=d58c0a66fcb697b448eee902e4d8faa3ebe21c0d
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout d58c0a66fcb697b448eee902e4d8faa3ebe21c0d
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc64 SHELL=/bin/bash
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/sched/deadline.c:1883:50: sparse: sparse: cast removes address space '__rcu' of expression
kernel/sched/deadline.c:1114:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/deadline.c:1114:23: sparse: expected struct task_struct *p
kernel/sched/deadline.c:1114:23: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/deadline.c:1243:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/deadline.c:1243:38: sparse: expected struct task_struct *curr
kernel/sched/deadline.c:1243:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/deadline.c:1738:9: sparse: sparse: cast removes address space '__rcu' of expression
kernel/sched/deadline.c:2587:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/deadline.c:2587:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/deadline.c:2587:22: sparse: struct task_struct *
kernel/sched/deadline.c:1142:24: sparse: sparse: context imbalance in 'dl_task_timer' - wrong count at exit
kernel/sched/deadline.c:1383:24: sparse: sparse: context imbalance in 'inactive_task_timer' - wrong count at exit
kernel/sched/deadline.c: note: in included file:
kernel/sched/sched.h:2036:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2036:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2036:25: sparse: struct task_struct *
kernel/sched/sched.h:2036:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:2036:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:2036:25: sparse: struct task_struct *
vim +/__rcu +1883 kernel/sched/deadline.c
1875
1876 /*
1877 * Only called when both the current and waking task are -deadline
1878 * tasks.
1879 */
1880 static void check_preempt_curr_dl(struct rq *rq, struct task_struct *p,
1881 int flags)
1882 {
> 1883 if (dl_entity_preempt(&per_task(p, dl), &per_task(rq->curr, dl))) {
1884 resched_curr(rq);
1885 return;
1886 }
1887
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-21 3:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-21 3:44 [mingo-tip:sched/headers 90/2574] kernel/sched/deadline.c:1883:50: sparse: sparse: cast removes address space '__rcu' of expression 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.