tree:
https://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git for-next
head: 5cc38fa6fc7448d40ff214d5c087f508355e8446
commit: 6e3cfcf6ea031fe2a0068fa7c380c4cf7bcd8936 [2/11] riscv: use vDSO common flow to
reduce the latency of the time-related functions
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.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
git checkout 6e3cfcf6ea031fe2a0068fa7c380c4cf7bcd8936
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> arch/riscv/kernel/vdso/vgettimeofday.c:12:5: warning: no previous
prototype for '__vdso_clock_gettime' [-Wmissing-prototypes]
12 | int
__vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts)
| ^~~~~~~~~~~~~~~~~~~~
> arch/riscv/kernel/vdso/vgettimeofday.c:17:5: warning: no previous
prototype for '__vdso_gettimeofday' [-Wmissing-prototypes]
17 | int
__vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz)
| ^~~~~~~~~~~~~~~~~~~
> arch/riscv/kernel/vdso/vgettimeofday.c:22:5: warning: no previous
prototype for '__vdso_clock_getres' [-Wmissing-prototypes]
22 | int
__vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res)
| ^~~~~~~~~~~~~~~~~~~
vim +/__vdso_clock_gettime +12 arch/riscv/kernel/vdso/vgettimeofday.c
11
12 int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec
*ts)
13 {
14 return __cvdso_clock_gettime(clock, ts);
15 }
16
17 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct
timezone *tz)
18 {
19 return __cvdso_gettimeofday(tv, tz);
20 }
21
22 int __vdso_clock_getres(clockid_t clock_id, struct
__kernel_timespec *res)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org