LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [mcgrof-next:20211118-sysctl-cleanups-set-04-v4 41/41] kernel/kprobes.c:2604:9: error: implicit declaration of function 'kprobe_sysctls_init'
@ 2021-11-22 18:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-22 18:50 UTC (permalink / raw)
To: Xiaoming Ni; +Cc: kbuild-all, linux-kernel, Luis Chamberlain
[-- Attachment #1: Type: text/plain, Size: 2039 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 45502 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-22 18:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22 18:50 [mcgrof-next:20211118-sysctl-cleanups-set-04-v4 41/41] kernel/kprobes.c:2604:9: error: implicit declaration of function 'kprobe_sysctls_init' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).