[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202101353.zojAXcpm-lkp@intel.com>
Date: Thu, 10 Feb 2022 13:25:49 +0800
From: kernel test robot <lkp@...el.com>
To: Zhen Ni <nizhen@...ontech.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Peter Zijlstra <peterz@...radead.org>
Subject: [peterz-queue:sched/core 29/30] kernel/sched/fair.c:230:2: error:
implicit declaration of function 'sched_cfs_bandwidth_sysctl_init'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core
head: d95db7fbf521ca4274fd7b7bc4e7d8e2d78b35e6
commit: 17880af2ea65d254c1c225e6a25caa5352c3dbee [29/30] sched: Move cfs_bandwidth_slice sysctls to fair.c
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20220210/202202101353.zojAXcpm-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=17880af2ea65d254c1c225e6a25caa5352c3dbee
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/core
git checkout 17880af2ea65d254c1c225e6a25caa5352c3dbee
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
kernel/sched/fair.c: In function 'sched_init_granularity':
>> kernel/sched/fair.c:230:2: error: implicit declaration of function 'sched_cfs_bandwidth_sysctl_init' [-Werror=implicit-function-declaration]
230 | sched_cfs_bandwidth_sysctl_init();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/sched_cfs_bandwidth_sysctl_init +230 kernel/sched/fair.c
226
227 void __init sched_init_granularity(void)
228 {
229 update_sysctl();
> 230 sched_cfs_bandwidth_sysctl_init();
231 }
232
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists