Re: [PATCH] sched/deadline: add GRUB bw change tracepoints

From: kbuild test robot
Date: Wed Jul 05 2017 - 23:40:30 EST


Hi Claudio,

[auto build test ERROR on tip/auto-latest]
[cannot apply to v4.12]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Claudio-Scordino/sched-deadline-add-GRUB-bw-change-tracepoints/20170706-091701
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa

All errors (new ones prefixed by >>):

kernel/sched/deadline.c: In function 'add_running_bw':
>> kernel/sched/deadline.c:90:22: error: 'struct rq' has no member named 'cpu'
rq_of_dl_rq(dl_rq)->cpu);
^
kernel/sched/deadline.c: In function 'sub_running_bw':
kernel/sched/deadline.c:104:22: error: 'struct rq' has no member named 'cpu'
rq_of_dl_rq(dl_rq)->cpu);
^
kernel/sched/deadline.c: In function 'add_rq_bw':
kernel/sched/deadline.c:116:22: error: 'struct rq' has no member named 'cpu'
rq_of_dl_rq(dl_rq)->cpu);
^
kernel/sched/deadline.c: In function 'sub_rq_bw':
kernel/sched/deadline.c:132:22: error: 'struct rq' has no member named 'cpu'
rq_of_dl_rq(dl_rq)->cpu);
^

vim +90 kernel/sched/deadline.c

84
85 lockdep_assert_held(&(rq_of_dl_rq(dl_rq))->lock);
86 dl_rq->running_bw += dl_bw;
87 SCHED_WARN_ON(dl_rq->running_bw < old); /* overflow */
88 SCHED_WARN_ON(dl_rq->running_bw > dl_rq->this_bw);
89 trace_sched_dl_grub(dl_rq->this_bw, dl_rq->running_bw,
> 90 rq_of_dl_rq(dl_rq)->cpu);
91 }
92
93 static inline

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip