[PATCH] arm64: vdso: Fix "no previous prototype" warning
Catalin Marinas
catalin.marinas at arm.com
Mon Jan 24 07:10:50 PST 2022
On Fri, 21 Jan 2022 12:12:34 +0000, Vincenzo Frascino wrote:
> If compiling the arm64 kernel with W=1 the following warning is produced:
>
> | arch/arm64/kernel/vdso/vgettimeofday.c:9:5: error: no previous prototype for ‘__kernel_clock_gettime’ [-Werror=missing-prototypes]
> | 9 | int __kernel_clock_gettime(clockid_t clock,
> | | ^~~~~~~~~~~~~~~~~~~~~~
> | arch/arm64/kernel/vdso/vgettimeofday.c:15:5: error: no previous prototype for ‘__kernel_gettimeofday’ [-Werror=missing-prototypes]
> | 15 | int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
> | | ^~~~~~~~~~~~~~~~~~~~~
> | arch/arm64/kernel/vdso/vgettimeofday.c:21:5: error: no previous prototype for ‘__kernel_clock_getres’ [-Werror=missing-prototypes]
> | 21 | int __kernel_clock_getres(clockid_t clock_id,
> | | ^~~~~~~~~~~~~~~~~~~~~
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: vdso: Fix "no previous prototype" warning
https://git.kernel.org/arm64/c/58cd4a088e89
--
Catalin
More information about the linux-arm-kernel
mailing list