Hi chenjiajun,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: c46f803e3465bd0ca66716804a4d3e20f586ac0d
commit: b94fc31d4e16ff65dc2141f0a1a3af6a3aac5bb2 [14594/23707] kvm: debugfs: aarch64 export cpu time related items to debugfs
config: arm64-randconfig-004-20240913 (https://download.01.org/0day-ci/archive/20240914/202409140415.hpdzSPWA-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140415.hpdzSPWA-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409140415.hpdzSPWA-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kvm/../../../virt/kvm/arm/arm.c: In function 'update_steal_time':
>> arch/arm64/kvm/../../../virt/kvm/arm/arm.c:411:36: error: 'struct sched_info' has no member named 'run_delay'
411 | delta = current->sched_info.run_delay - vcpu->stat.steal;
| ^
arch/arm64/kvm/../../../virt/kvm/arm/arm.c:412:47: error: 'struct sched_info' has no member named 'run_delay'
412 | vcpu->stat.steal = current->sched_info.run_delay;
| ^
vim +411 arch/arm64/kvm/../../../virt/kvm/arm/arm.c
406
407 static void update_steal_time(struct kvm_vcpu *vcpu)
408 {
409 u64 delta;
410
> 411 delta = current->sched_info.run_delay - vcpu->stat.steal;
412 vcpu->stat.steal = current->sched_info.run_delay;
413 vcpu->stat.st_max = max(vcpu->stat.st_max, delta);
414 }
415
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: 5a1d9701155c6908c76c68951170f10279685143
commit: 9878268b0b9f6144b3bf066fa54124ce9c401072 [27796/30000] mm/mem_sampling.c: Add controlling interface for mem_sampling
config: arm64-randconfig-001-20240914 (https://download.01.org/0day-ci/archive/20240914/202409140253.h1BCVyaA-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140253.h1BCVyaA-lkp@…)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409140253.h1BCVyaA-lkp@intel.com/
All errors (new ones prefixed by >>):
>> mm/mem_sampling.c:164:35: error: 'sysctl_mem_sampling_enable' undeclared here (not in a function); did you mean 'sysctl_mem_sampling_mode'?
164 | .proc_handler = sysctl_mem_sampling_enable,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| sysctl_mem_sampling_mode
vim +164 mm/mem_sampling.c
157
158 static struct ctl_table ctl_table[] = {
159 {
160 .procname = "mem_sampling_enable",
161 .data = NULL, /* filled in by handler */
162 .maxlen = sizeof(unsigned int),
163 .mode = 0644,
> 164 .proc_handler = sysctl_mem_sampling_enable,
165 .extra1 = SYSCTL_ZERO,
166 .extra2 = SYSCTL_ONE,
167 },
168 {}
169 };
170
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki