linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the ipvs-next tree
@ 2016-04-15  0:57 Stephen Rothwell
  2016-04-15  9:56 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2016-04-15  0:57 UTC (permalink / raw)
  To: Simon Horman; +Cc: linux-next, linux-kernel, Pablo Neira Ayuso

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.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: build warning after merge of the ipvs-next tree
  2016-04-15  0:57 linux-next: build warning after merge of the ipvs-next tree Stephen Rothwell
@ 2016-04-15  9:56 ` Pablo Neira Ayuso
  2016-04-15 12:38   ` Simon Horman
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-15  9:56 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Simon Horman, linux-next, linux-kernel

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: build warning after merge of the ipvs-next tree
  2016-04-15  9:56 ` Pablo Neira Ayuso
@ 2016-04-15 12:38   ` Simon Horman
  2016-04-18  9:09     ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Horman @ 2016-04-15 12:38 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Stephen Rothwell, linux-next, linux-kernel

On Fri, Apr 15, 2016 at 11:56:07AM +0200, Pablo Neira Ayuso wrote:
> 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.

Pablo,

can you let me know when it is fixed in nf-next so I can rebase ipvs-next
accordingly?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: build warning after merge of the ipvs-next tree
  2016-04-15 12:38   ` Simon Horman
@ 2016-04-18  9:09     ` Pablo Neira Ayuso
  2016-04-19  3:44       ` Simon Horman
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-18  9:09 UTC (permalink / raw)
  To: Simon Horman; +Cc: Stephen Rothwell, linux-next, linux-kernel

On Fri, Apr 15, 2016 at 10:38:14PM +1000, Simon Horman wrote:
> On Fri, Apr 15, 2016 at 11:56:07AM +0200, Pablo Neira Ayuso wrote:
> > 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.
> 
> Pablo,
> 
> can you let me know when it is fixed in nf-next so I can rebase ipvs-next
> accordingly?

No need to rebase, will push an incremental fix for this.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: build warning after merge of the ipvs-next tree
  2016-04-18  9:09     ` Pablo Neira Ayuso
@ 2016-04-19  3:44       ` Simon Horman
  0 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2016-04-19  3:44 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Stephen Rothwell, linux-next, linux-kernel

On Mon, Apr 18, 2016 at 11:09:21AM +0200, Pablo Neira Ayuso wrote:
> On Fri, Apr 15, 2016 at 10:38:14PM +1000, Simon Horman wrote:
> > On Fri, Apr 15, 2016 at 11:56:07AM +0200, Pablo Neira Ayuso wrote:
> > > 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.
> > 
> > Pablo,
> > 
> > can you let me know when it is fixed in nf-next so I can rebase ipvs-next
> > accordingly?
> 
> No need to rebase, will push an incremental fix for this.

Thanks, understood.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-19  4:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-15  0:57 linux-next: build warning after merge of the ipvs-next tree Stephen Rothwell
2016-04-15  9:56 ` Pablo Neira Ayuso
2016-04-15 12:38   ` Simon Horman
2016-04-18  9:09     ` Pablo Neira Ayuso
2016-04-19  3:44       ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).