tree:
https://android.googlesource.com/kernel/common android-5.4-stable
head: 7bbd50f11d3086fe75fac78882de0d42e27293fa
commit: 7bbd50f11d3086fe75fac78882de0d42e27293fa [1/1] ANDROID: arch: arm64: vdso: export
the symbols for time()
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.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 remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-5.4-stable
git checkout 7bbd50f11d3086fe75fac78882de0d42e27293fa
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm64
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/arm64/kernel/vdso/vgettimeofday.c:9:5: warning: no previous prototype for
'__kernel_clock_gettime' [-Wmissing-prototypes]
9 | int __kernel_clock_gettime(clockid_t clock,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:15:5: warning: no previous prototype for
'__kernel_gettimeofday' [-Wmissing-prototypes]
15 | int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:21:5: warning: no previous prototype for
'__kernel_clock_getres' [-Wmissing-prototypes]
21 | int __kernel_clock_getres(clockid_t clock_id,
| ^~~~~~~~~~~~~~~~~~~~~
> arch/arm64/kernel/vdso/vgettimeofday.c:27:8: warning: no previous
prototype for '__kernel_time' [-Wmissing-prototypes]
27 | time_t
__kernel_time(time_t *time)
| ^~~~~~~~~~~~~
--
arch/arm64/kernel/vdso/vgettimeofday.c:9:5: warning: no previous prototype for
'__kernel_clock_gettime' [-Wmissing-prototypes]
9 | int __kernel_clock_gettime(clockid_t clock,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:15:5: warning: no previous prototype for
'__kernel_gettimeofday' [-Wmissing-prototypes]
15 | int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:21:5: warning: no previous prototype for
'__kernel_clock_getres' [-Wmissing-prototypes]
21 | int __kernel_clock_getres(clockid_t clock_id,
| ^~~~~~~~~~~~~~~~~~~~~
> arch/arm64/kernel/vdso/vgettimeofday.c:27:8: warning: no previous
prototype for '__kernel_time' [-Wmissing-prototypes]
27 | time_t
__kernel_time(time_t *time)
| ^~~~~~~~~~~~~
vim +/__kernel_time +27 arch/arm64/kernel/vdso/vgettimeofday.c
9 int __kernel_clock_gettime(clockid_t clock,
10
struct __kernel_timespec *ts)
11 {
12 return __cvdso_clock_gettime(clock, ts);
13 }
14
15 int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
16 struct timezone *tz)
17 {
18 return __cvdso_gettimeofday(tv, tz);
19 }
20
21 int __kernel_clock_getres(clockid_t clock_id,
22 struct __kernel_timespec *res)
23 {
24 return __cvdso_clock_getres(clock_id, res);
25 }
26
27 time_t __kernel_time(time_t *time)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org