From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gnuweeb.org (Postfix) with ESMTPS id 76B597E2F8 for ; Sat, 12 Mar 2022 02:49:10 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=e3l/bl+8; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647053350; x=1678589350; h=date:from:to:cc:subject:message-id:mime-version; bh=R0DDQeh5n1eKIZRB8ja0lP32SSnFOHfvnUG7+NokNh8=; b=e3l/bl+8BS69mT/X7EAQgdHvsOvZw+mMeqyOKMC/GAGMFiVFuK5rtzbV aTcrmMeO7w9DJqv/NPjNJigVs5vd0gsPbQqfWiKqTdeyyY6ryA5bOegst za71uMZbui3YMaKbp4XdyEVprj+mo3rqvlumiDbjSEcIJ1F2hAVTvvMEd blrk4CY38ZrefRN9Pjzy/hEPNxd9Zu9PXblwQWvstk3wWlQ6Lt/NF2anT 8aqHBXu5FhntEjrQP0dfxacF+gnlyGJhWf/qfmohHcEmW3gIuhrzsMcLt ZX6XwZwi83chB99r1yVk78EcH4Yr3JGGvLHvefpI4vQYVtVnro7/wMLoR g==; X-IronPort-AV: E=McAfee;i="6200,9189,10283"; a="236325637" X-IronPort-AV: E=Sophos;i="5.90,175,1643702400"; d="scan'208";a="236325637" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2022 18:49:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,175,1643702400"; d="scan'208";a="511596133" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 11 Mar 2022 18:49:07 -0800 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nSroY-0007Qh-Vn; Sat, 12 Mar 2022 02:49:06 +0000 Date: Sat, 12 Mar 2022 10:48:52 +0800 From: kernel test robot To: "Jason A. Donenfeld" Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org 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'? Message-ID: <202203121041.K4onshgj-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: 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/202203121041.K4onshgj-lkp@intel.com/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 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/kbuild-all@lists.01.org