[openeuler:OLK-5.10 27796/30000] mm/mem_sampling.c:164:35: error: 'sysctl_mem_sampling_enable' undeclared here (not in a function); did you mean 'sysctl_mem_sampling_mode'?

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@i...) 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@i...) 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@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
participants (1)
-
kernel test robot