From: kernel test robot <[email protected]>
To: "Jason A. Donenfeld" <[email protected]>
Cc: [email protected],
GNU/Weeb Mailing List <[email protected]>,
[email protected]
Subject: [ammarfaizi2-block:crng/random/jd/vmid-poll 61/61] drivers/char/random.c:1182:17: error: implicit declaration of function 'proc_sys_poll_notify'; did you mean 'proc_sys_poll_event'?
Date: Sat, 12 Mar 2022 10:48:52 +0800 [thread overview]
Message-ID: <[email protected]> (raw)
tree: https://github.com/ammarfaizi2/linux-block crng/random/jd/vmid-poll
head: 28f8622d20d2c090711dbb8bee93bd00a8bc0cd6
commit: 28f8622d20d2c090711dbb8bee93bd00a8bc0cd6 [61/61] random: add vm_id sysctl for polling
config: ia64-randconfig-r016-20220310 (https://download.01.org/0day-ci/archive/20220312/[email protected]/config)
compiler: ia64-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://github.com/ammarfaizi2/linux-block/commit/28f8622d20d2c090711dbb8bee93bd00a8bc0cd6
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block crng/random/jd/vmid-poll
git checkout 28f8622d20d2c090711dbb8bee93bd00a8bc0cd6
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/char/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
All errors (new ones prefixed by >>):
In file included from arch/ia64/include/asm/pgtable.h:153,
from include/linux/pgtable.h:6,
from arch/ia64/include/asm/uaccess.h:40,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/poll.h:10,
from drivers/char/random.c:38:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:127:48: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
drivers/char/random.c: In function 'add_vmfork_randomness':
>> drivers/char/random.c:1182:17: error: implicit declaration of function 'proc_sys_poll_notify'; did you mean 'proc_sys_poll_event'? [-Werror=implicit-function-declaration]
1182 | proc_sys_poll_notify(&sysctl_vmid_poll);
| ^~~~~~~~~~~~~~~~~~~~
| proc_sys_poll_event
cc1: some warnings being treated as errors
vim +1182 drivers/char/random.c
1167
1168 /*
1169 * Handle a new unique VM ID, which is unique, not secret, so we
1170 * don't credit it, but we do immediately force a reseed after so
1171 * that it's used by the crng posthaste.
1172 */
1173 void add_vmfork_randomness(const void *unique_vm_id, size_t size)
1174 {
1175 add_device_randomness(unique_vm_id, size);
1176 if (crng_ready()) {
1177 crng_reseed(true);
1178 pr_notice("crng reseeded due to virtual machine fork\n");
1179 }
1180 blocking_notifier_call_chain(&vmfork_chain, 0, NULL);
1181 if (IS_ENABLED(CONFIG_SYSCTL))
> 1182 proc_sys_poll_notify(&sysctl_vmid_poll);
1183 }
1184 #if IS_MODULE(CONFIG_VMGENID)
1185 EXPORT_SYMBOL_GPL(add_vmfork_randomness);
1186 #endif
1187
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/[email protected]
reply other threads:[~2022-03-12 2:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox