Messages in this thread | | | Date | Tue, 23 Nov 2021 02:50:40 +0800 | From | kernel test robot <> | Subject | [mcgrof-next:20211118-sysctl-cleanups-set-04-v4 41/41] kernel/kprobes.c:2604:9: error: implicit declaration of function 'kprobe_sysctls_init' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20211118-sysctl-cleanups-set-04-v4 head: be45d1710bab2a205a293605be8696ecf8571084 commit: be45d1710bab2a205a293605be8696ecf8571084 [41/41] kprobe: move sysctl_kprobes_optimization to kprobes.c config: arm64-randconfig-r022-20211118 (attached as .config) compiler: aarch64-linux-gcc (GCC) 11.2.0 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 # https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=be45d1710bab2a205a293605be8696ecf8571084 git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git git fetch --no-tags mcgrof-next 20211118-sysctl-cleanups-set-04-v4 git checkout be45d1710bab2a205a293605be8696ecf8571084 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/kprobes.c: In function 'init_kprobes': >> kernel/kprobes.c:2604:9: error: implicit declaration of function 'kprobe_sysctls_init' [-Werror=implicit-function-declaration] 2604 | kprobe_sysctls_init(); | ^~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors
vim +/kprobe_sysctls_init +2604 kernel/kprobes.c
2596 2597 err = arch_init_kprobes(); 2598 if (!err) 2599 err = register_die_notifier(&kprobe_exceptions_nb); 2600 if (!err) 2601 err = register_module_notifier(&kprobe_module_nb); 2602 2603 kprobes_initialized = (err == 0); > 2604 kprobe_sysctls_init(); 2605 return err; 2606 } 2607 early_initcall(init_kprobes); 2608
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |