Re: [PATCH] arm64: vdso: Clear common make C=2 warnings

From: Will Deacon
Date: Thu Jul 20 2023 - 08:14:07 EST


On Thu, 13 Jul 2023 19:58:31 +0800, Zhen Lei wrote:
> make C=2 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- xxx.o
>
> When I use the command above to do a 'make C=2' check on any object file,
> the following warnings are always output:
>
> CHECK arch/arm64/kernel/vdso/vgettimeofday.c
> arch/arm64/kernel/vdso/vgettimeofday.c:9:5: warning:
> symbol '__kernel_clock_gettime' was not declared. Should it be static?
> arch/arm64/kernel/vdso/vgettimeofday.c:15:5: warning:
> symbol '__kernel_gettimeofday' was not declared. Should it be static?
> arch/arm64/kernel/vdso/vgettimeofday.c:21:5: warning:
> symbol '__kernel_clock_getres' was not declared. Should it be static?
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: vdso: Clear common make C=2 warnings
https://git.kernel.org/arm64/c/71e06e1acecb

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev