Re: [RESEND][PATCH net-next] net: sched: taprio: fix -Wmissing-prototypes warnings
From: Jakub Kicinski
Date: Tue Oct 22 2019 - 16:39:32 EST
On Tue, 22 Oct 2019 07:57:42 +0800, Yi Wang wrote:
> We get one warnings when build kernel W=1:
> net/sched/sch_taprio.c:1155:6: warning: no previous prototype for âtaprio_offload_config_changedâ [-Wmissing-prototypes]
>
> Make the function static to fix this.
>
> Signed-off-by: Yi Wang <wang.yi59@xxxxxxxxxx>
> Acked-by: Vinicius Costa Gomes <vinicius.gomes@xxxxxxxxx>
Thank you!
I've added Fixes tag and applied this to the net tree, since the warning
is already present there.