* [vincent.guittot:sched/pelt 5/5] kernel/sched/fair.c:8027:26: error: implicit declaration of function 'cpu_runnable'; did you mean 'se_runnable'?
@ 2020-02-07 16:31 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-07 16:31 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3089 bytes --]
tree: https://git.linaro.org/people/vincent.guittot/kernel.git sched/pelt
head: 72c9cba7acfa9d51fe5ced5ff3a3cde60c69e022
commit: 72c9cba7acfa9d51fe5ced5ff3a3cde60c69e022 [5/5] sched/fair: Take into runnable_avg to classify group
config: mips-nlm_xlp_defconfig (attached as .config)
compiler: mips64-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 72c9cba7acfa9d51fe5ced5ff3a3cde60c69e022
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from kernel/sched/fair.c:23:0:
kernel/sched/sched.h: In function 'se_update_runnable':
kernel/sched/sched.h:706:27: error: 'struct sched_entity' has no member named 'my_q'
se->runnable_weight = se->my_q->h_nr_running;
^~
kernel/sched/fair.c: In function 'update_sg_lb_stats':
>> kernel/sched/fair.c:8027:26: error: implicit declaration of function 'cpu_runnable'; did you mean 'se_runnable'? [-Werror=implicit-function-declaration]
sgs->group_runnable += cpu_runnable(rq);
^~~~~~~~~~~~
se_runnable
cc1: some warnings being treated as errors
vim +8027 kernel/sched/fair.c
8000
8001 /**
8002 * update_sg_lb_stats - Update sched_group's statistics for load balancing.
8003 * @env: The load balancing environment.
8004 * @group: sched_group whose statistics are to be updated.
8005 * @sgs: variable to hold the statistics for this group.
8006 * @sg_status: Holds flag indicating the status of the sched_group
8007 */
8008 static inline void update_sg_lb_stats(struct lb_env *env,
8009 struct sched_group *group,
8010 struct sg_lb_stats *sgs,
8011 int *sg_status)
8012 {
8013 int i, nr_running, local_group;
8014
8015 memset(sgs, 0, sizeof(*sgs));
8016
8017 local_group = cpumask_test_cpu(env->dst_cpu, sched_group_span(group));
8018
8019 for_each_cpu_and(i, sched_group_span(group), env->cpus) {
8020 struct rq *rq = cpu_rq(i);
8021
8022 if ((env->flags & LBF_NOHZ_STATS) && update_nohz_stats(rq, false))
8023 env->flags |= LBF_NOHZ_AGAIN;
8024
8025 sgs->group_load += cpu_load(rq);
8026 sgs->group_util += cpu_util(i);
> 8027 sgs->group_runnable += cpu_runnable(rq);
8028 sgs->sum_h_nr_running += rq->cfs.h_nr_running;
8029
8030 nr_running = rq->nr_running;
8031 sgs->sum_nr_running += nr_running;
8032
8033 if (nr_running > 1)
8034 *sg_status |= SG_OVERLOAD;
8035
8036 if (cpu_overutilized(i))
8037 *sg_status |= SG_OVERUTILIZED;
8038
---
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: 21333 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-07 16:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 16:31 [vincent.guittot:sched/pelt 5/5] kernel/sched/fair.c:8027:26: error: implicit declaration of function 'cpu_runnable'; did you mean 'se_runnable'? kbuild 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.