* [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'?
@ 2022-03-12 2:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-12 2:48 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel
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]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-12 2:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-12 2:48 [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'? 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