Messages in this thread | | | Date | Sat, 30 Jul 2022 06:08:23 +0800 | From | kernel test robot <> | Subject | [ammarfaizi2-block:crng/random/jd/vdso 8/8] arch/x86/entry/vdso/vgetrandom.c:10:9: warning: no previous prototype for '__vdso_getrandom' |
| |
tree: https://github.com/ammarfaizi2/linux-block crng/random/jd/vdso head: 7f252f719a107b2d29b14c2f7143a80d4fa14349 commit: 7f252f719a107b2d29b14c2f7143a80d4fa14349 [8/8] random: implement getrandom() in vDSO config: x86_64-randconfig-a013 (https://download.01.org/0day-ci/archive/20220730/202207300625.hQvJunv9-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/7f252f719a107b2d29b14c2f7143a80d4fa14349 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block crng/random/jd/vdso git checkout 7f252f719a107b2d29b14c2f7143a80d4fa14349 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/entry/vdso/ lib/vdso/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/x86/entry/vdso/vgetrandom.c:8: >> arch/x86/entry/vdso/../../../../lib/vdso/getrandom.c:102:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration] 102 | static ssize_t __always_inline | ^~~~~~ >> arch/x86/entry/vdso/vgetrandom.c:10:9: warning: no previous prototype for '__vdso_getrandom' [-Wmissing-prototypes] 10 | ssize_t __vdso_getrandom(void **state, void *buffer, size_t len, unsigned long flags) | ^~~~~~~~~~~~~~~~
vim +/__vdso_getrandom +10 arch/x86/entry/vdso/vgetrandom.c
9 > 10 ssize_t __vdso_getrandom(void **state, void *buffer, size_t len, unsigned long flags) 11 { 12 return __cvdso_getrandom(state, buffer, len, flags); 13 } 14
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |