Re: [PATCH net-next] net: tipc: Supply missing udp_media.h include file

From: David Miller
Date: Fri Sep 18 2020 - 17:57:15 EST

From: Wang Hai <wanghai38@xxxxxxxxxx>
Date: Fri, 18 Sep 2020 21:18:19 +0800

> If the header file containing a function's prototype isn't included by
> the sourcefile containing the associated function, the build system
> complains of missing prototypes.
> Fixes the following W=1 kernel build warning(s):
> net/tipc/udp_media.c:446:5: warning: no previous prototype for ʽtipc_udp_nl_dump_remoteipʼ [-Wmissing-prototypes]
> net/tipc/udp_media.c:532:5: warning: no previous prototype for ʽtipc_udp_nl_add_bearer_dataʼ [-Wmissing-prototypes]
> net/tipc/udp_media.c:614:5: warning: no previous prototype for ʽtipc_udp_nl_bearer_addʼ [-Wmissing-prototypes]
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>