[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210112238.4QYsE6EH-lkp@intel.com>
Date: Tue, 11 Oct 2022 23:10:09 +0800
From: kernel test robot <lkp@...el.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
x86@...nel.org, Ingo Molnar <mingo@...nel.org>
Subject: [tip:master 4/4] kernel/cgroup/cgroup.c:5281:26: error:
'CFTYPE_PRESSURE' undeclared here (not in a function)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master
head: 38b3262a0a12381ebcc93c24c7d3af2e0c9ad843
commit: 38b3262a0a12381ebcc93c24c7d3af2e0c9ad843 [4/4] Merge branch 'linus'
config: x86_64-randconfig-a011-20221010
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=38b3262a0a12381ebcc93c24c7d3af2e0c9ad843
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip master
git checkout 38b3262a0a12381ebcc93c24c7d3af2e0c9ad843
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash kernel/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> kernel/cgroup/cgroup.c:5281:26: error: 'CFTYPE_PRESSURE' undeclared here (not in a function)
5281 | .flags = CFTYPE_PRESSURE,
| ^~~~~~~~~~~~~~~
vim +/CFTYPE_PRESSURE +5281 kernel/cgroup/cgroup.c
8a693f7766f9e2 kernel/cgroup/cgroup.c Tejun Heo 2022-09-06 5241
8a693f7766f9e2 kernel/cgroup/cgroup.c Tejun Heo 2022-09-06 5242 static struct cftype cgroup_psi_files[] = {
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5243 #ifdef CONFIG_PSI
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5244 {
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5245 .name = "io.pressure",
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5246 .file_offset = offsetof(struct cgroup, psi_files[PSI_IO]),
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5247 .seq_show = cgroup_io_pressure_show,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5248 .write = cgroup_io_pressure_write,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5249 .poll = cgroup_pressure_poll,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5250 .release = cgroup_pressure_release,
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5251 },
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5252 {
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5253 .name = "memory.pressure",
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5254 .file_offset = offsetof(struct cgroup, psi_files[PSI_MEM]),
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5255 .seq_show = cgroup_memory_pressure_show,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5256 .write = cgroup_memory_pressure_write,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5257 .poll = cgroup_pressure_poll,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5258 .release = cgroup_pressure_release,
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5259 },
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5260 {
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5261 .name = "cpu.pressure",
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5262 .file_offset = offsetof(struct cgroup, psi_files[PSI_CPU]),
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5263 .seq_show = cgroup_cpu_pressure_show,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5264 .write = cgroup_cpu_pressure_write,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5265 .poll = cgroup_pressure_poll,
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5266 .release = cgroup_pressure_release,
2ce7135adc9ad0 kernel/cgroup/cgroup.c Johannes Weiner 2018-10-26 5267 },
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5268 #ifdef CONFIG_IRQ_TIME_ACCOUNTING
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5269 {
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5270 .name = "irq.pressure",
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5271 .flags = CFTYPE_PRESSURE,
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5272 .file_offset = offsetof(struct cgroup, psi_files[PSI_IRQ]),
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5273 .seq_show = cgroup_irq_pressure_show,
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5274 .write = cgroup_irq_pressure_write,
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5275 .poll = cgroup_pressure_poll,
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5276 .release = cgroup_pressure_release,
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5277 },
52b1364ba0b105 kernel/cgroup/cgroup.c Chengming Zhou 2022-08-26 5278 #endif
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5279 {
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5280 .name = "cgroup.pressure",
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 @5281 .flags = CFTYPE_PRESSURE,
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5282 .seq_show = cgroup_pressure_show,
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5283 .write = cgroup_pressure_write,
34f26a15611afb kernel/cgroup/cgroup.c Chengming Zhou 2022-09-07 5284 },
0e94682b73bfa6 kernel/cgroup/cgroup.c Suren Baghdasaryan 2019-05-14 5285 #endif /* CONFIG_PSI */
a14c6874be09a0 kernel/cgroup.c Tejun Heo 2014-07-15 5286 { } /* terminate */
a14c6874be09a0 kernel/cgroup.c Tejun Heo 2014-07-15 5287 };
d5c56ced775f6b kernel/cgroup.c Tejun Heo 2013-06-03 5288
:::::: The code at line 5281 was first introduced by commit
:::::: 34f26a15611afb03c33df6819359d36f5b382589 sched/psi: Per-cgroup PSI accounting disable/re-enable interface
:::::: TO: Chengming Zhou <zhouchengming@...edance.com>
:::::: CC: Peter Zijlstra <peterz@...radead.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (145005 bytes)
Powered by blists - more mailing lists