tree:
https://github.com/c-sky/csky-linux linux-next
head: 8d1733b612c9576ec3ff96491cffcb40ad756c1c
commit: 8d1733b612c9576ec3ff96491cffcb40ad756c1c [27/27] csky: Add VDSO with
GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO
config: csky-defconfig (attached as .config)
compiler: csky-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
#
https://github.com/c-sky/csky-linux/commit/8d1733b612c9576ec3ff96491cffcb...
git remote add csky-linux
https://github.com/c-sky/csky-linux
git fetch --no-tags csky-linux linux-next
git checkout 8d1733b612c9576ec3ff96491cffcb40ad756c1c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky
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 >>):
> arch/csky/kernel/vdso/vgettimeofday.c:6:5: warning: no previous
prototype for '__vdso_clock_gettime' [-Wmissing-prototypes]
6 | int
__vdso_clock_gettime(clockid_t clock,
| ^~~~~~~~~~~~~~~~~~~~
> arch/csky/kernel/vdso/vgettimeofday.c:12:5: warning: no previous
prototype for '__vdso_clock_gettime64' [-Wmissing-prototypes]
12 | int
__vdso_clock_gettime64(clockid_t clock,
| ^~~~~~~~~~~~~~~~~~~~~~
> arch/csky/kernel/vdso/vgettimeofday.c:18:5: warning: no previous
prototype for '__vdso_gettimeofday' [-Wmissing-prototypes]
18 | int
__vdso_gettimeofday(struct __kernel_old_timeval *tv,
| ^~~~~~~~~~~~~~~~~~~
> arch/csky/kernel/vdso/vgettimeofday.c:24:5: warning: no previous
prototype for '__vdso_clock_getres' [-Wmissing-prototypes]
24 | int
__vdso_clock_getres(clockid_t clock_id,
| ^~~~~~~~~~~~~~~~~~~
vim +/__vdso_clock_gettime +6 arch/csky/kernel/vdso/vgettimeofday.c
5
6 int __vdso_clock_gettime(clockid_t clock,
7 struct
old_timespec32 *ts)
8 {
9 return __cvdso_clock_gettime32(clock, ts);
10 }
11
12 int __vdso_clock_gettime64(clockid_t clock,
13
struct __kernel_timespec *ts)
14 {
15 return __cvdso_clock_gettime(clock, ts);
16 }
17
18 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
19 struct timezone *tz)
20 {
21 return __cvdso_gettimeofday(tv, tz);
22 }
23
24 int __vdso_clock_getres(clockid_t clock_id,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org