From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [mcgrof-next:20211118-sysctl-cleanups-set-04-v4 41/41] kernel/kprobes.c:2604:9: error: implicit declaration of function 'kprobe_sysctls_init'
Date: Tue, 23 Nov 2021 02:50:40 +0800 [thread overview]
Message-ID: <202111230237.mlPJIl2f-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2087 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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 45502 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Xiaoming Ni <nixiaoming@huawei.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Luis Chamberlain <mcgrof@kernel.org>
Subject: [mcgrof-next:20211118-sysctl-cleanups-set-04-v4 41/41] kernel/kprobes.c:2604:9: error: implicit declaration of function 'kprobe_sysctls_init'
Date: Tue, 23 Nov 2021 02:50:40 +0800 [thread overview]
Message-ID: <202111230237.mlPJIl2f-lkp@intel.com> (raw)
[-- 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 --]
next reply other threads:[~2021-11-22 18:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-22 18:50 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111230237.mlPJIl2f-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.