Re: linux-next: build warning after merge of the ipvs-next tree

From: Pablo Neira Ayuso
Date: Fri Apr 15 2016 - 05:56:22 EST


On Fri, Apr 15, 2016 at 10:57:48AM +1000, Stephen Rothwell wrote:
> Hi Simon,
>
> After merging the ipvs-next tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> net/netfilter/nf_conntrack_netlink.c:529:15: warning: 'ctnetlink_proto_size' defined but not used [-Wunused-function]
> static size_t ctnetlink_proto_size(const struct nf_conn *ct)
> ^
> net/netfilter/nf_conntrack_netlink.c:546:15: warning: 'ctnetlink_acct_size' defined but not used [-Wunused-function]
> static size_t ctnetlink_acct_size(const struct nf_conn *ct)
> ^
> net/netfilter/nf_conntrack_netlink.c:556:12: warning: 'ctnetlink_secctx_size' defined but not used [-Wunused-function]
> static int ctnetlink_secctx_size(const struct nf_conn *ct)
> ^
> net/netfilter/nf_conntrack_netlink.c:572:15: warning: 'ctnetlink_timestamp_size' defined but not used [-Wunused-function]
> static size_t ctnetlink_timestamp_size(const struct nf_conn *ct)
> ^
> Introduced by commit
>
> 4054ff45454a ("netfilter: ctnetlink: remove unnecessary inlining")
>
> This build does not set CONFIG_NF_CONNTRACK_EVENTS or
> CONFIG_NETFILTER_NETLINK_GLUE_CT.

This is my fault, will fix this asap. Thanks for reporting.