tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master head: 38b3262a0a12381ebcc93c24c7d3af2e0c9ad843 commit: 38b3262a0a12381ebcc93c24c7d3af2e0c9ad843 [4/4] Merge branch 'linus' config: arm-buildonly-randconfig-r002-20221010 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # 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 COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash kernel/cgroup/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): >> kernel/cgroup/cgroup.c:5281:12: error: use of undeclared identifier 'CFTYPE_PRESSURE' .flags = CFTYPE_PRESSURE, ^ >> kernel/cgroup/cgroup.c:5242:22: warning: tentative array definition assumed to have one element static struct cftype cgroup_psi_files[] = { ^ 1 warning and 1 error generated. 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 :::::: CC: Peter Zijlstra -- 0-DAY CI Kernel Test Service https://01.org/lkp