[PATCH] arm64: vdso: fix "no previous prototype" warning

Marc Kleine-Budde mkl at pengutronix.de
Mon Jan 24 04:13:00 PST 2022


On 24.01.2022 12:10:02, Vincenzo Frascino wrote:
> > 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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220124/e1c4a818/attachment-0001.sig>


More information about the linux-arm-kernel mailing list