Thread (13 messages) flat view 13 messages, 4 authors, 2020-06-17

Re: [PATCH 4/5] arm64: vdso: Add getcpu() implementation

From: Mark Brown <broonie@kernel.org>
Date: 2020-06-05 16:35:21
Also in: oe-kbuild-all

On Sat, Jun 06, 2020 at 12:11:08AM +0800, kernel test robot wrote:
quoted
quoted
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,
|     ^~~~~~~~~~~~~~~
--
quoted
quoted
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help