Hi Marc,
On 23/01/2020 09:58, Marc Gonzalez wrote:
[...]
I haven't upgraded sparse yet, but I've been playing with make W=1 lately,
using gcc 9.2. On v5.5-rc1, I see the following warnings:
CC arch/arm64/kernel/vdso/vgettimeofday.o
In file included from <command-line>:
/home/mgonzalez/linux/lib/vdso/gettimeofday.c:224:5: warning: no previous prototype for '__cvdso_clock_getres' [-Wmissing-prototypes]
224 | int __cvdso_clock_getres(clockid_t clock, struct __kernel_timespec *res)
| ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:11:5: warning: no previous prototype for '__kernel_clock_gettime' [-Wmissing-prototypes]
11 | int __kernel_clock_gettime(clockid_t clock,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:17:5: warning: no previous prototype for '__kernel_gettimeofday' [-Wmissing-prototypes]
17 | int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
| ^~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso/vgettimeofday.c:23:5: warning: no previous prototype for '__kernel_clock_getres' [-Wmissing-prototypes]
23 | int __kernel_clock_getres(clockid_t clock_id,
| ^~~~~~~~~~~~~~~~~~~~~
I suppose the __cvdso_clock_getres warning is fixed in v5.6?
This should be fixed in 5.5 went via tip/urgent.
Gitweb:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=ffd08731b2d632459428612431060cf902324a8d
The other warnings might be false positives?
Yes, this is correct.
Regards.
--
Regards,
Vincenzo