Re: [PATCH] arm64: vdso: fix "no previous prototype" warning
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2022-01-24 12:17:38
On 24.01.2022 12:10:02, Vincenzo Frascino wrote:
quoted
The patch silences the W=1 warning, sparse (C=1) however still complains: | 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?I had a look this morning but it seems but it seems that CHECKFLAGS does not allow to ignore warnings. I need to investigate it further, but in the meantime I propose to go ahead with the other patch since it addresses a compilation issue.
Sounds reasonable. regards, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |