Re: [PATCH] net/netfilter/nf_nat_proto.c - make tables static

From: Pablo Neira Ayuso
Date: Tue Aug 13 2019 - 05:59:02 EST


On Thu, Aug 08, 2019 at 01:43:22AM -0400, Valdis KlÄtnieks wrote:
> Sparse warns about two tables not being declared.
>
> CHECK net/netfilter/nf_nat_proto.c
> net/netfilter/nf_nat_proto.c:725:26: warning: symbol 'nf_nat_ipv4_ops' was not declared. Should it be static?
> net/netfilter/nf_nat_proto.c:964:26: warning: symbol 'nf_nat_ipv6_ops' was not declared. Should it be static?
>
> And in fact they can indeed be static.

Applied, thanks.