On Sat, Jun 06, 2020 at 12:11:08AM +0800, kernel test robot wrote:
>> arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous
prototype for '__kernel_getcpu' [-Wmissing-prototypes]
33 | int __kernel_getcpu(unsigned int *cpu, unsigned int *node,
| ^~~~~~~~~~~~~~~
--
>> arch/arm64/kernel/vdso/vgetcpu.c:33:5: warning: no previous prototype for
'__kernel_getcpu' [-Wmissing-prototypes]
33 | int __kernel_getcpu(unsigned int *cpu, unsigned int *node,
| ^~~~~~~~~~~~~~~
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,
| ^~~~~~~~~~~~~~~~~~~~~~
I'm not seeing this here and what we're doing is in line with the
existing idiom as can be seen from the __kernel_clock_gettime() code
flagging the same thing. Possibly an old/outdated toolchain?