Re: [PATCH] sched/pelt: fix false running accounting in PELT

From: kbuild test robot
Date: Sat Jul 01 2017 - 12:49:08 EST


Hi Vincent,

[auto build test ERROR on tip/sched/core]
[also build test ERROR on v4.12-rc7 next-20170630]
[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/Vincent-Guittot/sched-pelt-fix-false-running-accounting-in-PELT/20170702-002907
config: i386-randconfig-x078-07012120 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

kernel/sched/fair.c: In function '___update_load_avg':
>> kernel/sched/fair.c:2986:10: error: implicit declaration of function 'scale_time' [-Werror=implicit-function-declaration]
delta = scale_time(delta, cpu, sa, weight, running);
^~~~~~~~~~
cc1: some warnings being treated as errors

vim +/scale_time +2986 kernel/sched/fair.c

2980 running = 1;
2981
2982 /*
2983 * Scale time to reflect the amount a computation effectively done
2984 * during the time slot at current capacity
2985 */
> 2986 delta = scale_time(delta, cpu, sa, weight, running);
2987
2988 /*
2989 * Now we know we crossed measurement unit boundaries. The *_avg

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

Attachment: .config.gz
Description: application/gzip