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

From: Florian Westphal
Date: Tue May 17 2022 - 07:25:51 EST


Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> On Tue, 17 May 2022 11:03:03 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> >
> > After merging the net-next tree, today's linux-next build (powerpc
> > ppc64_defconfig) produced this warning:
> >
> > net/netfilter/nf_conntrack_netlink.c:1717:12: warning: 'ctnetlink_dump_one_entry' defined but not used [-Wunused-function]
> > 1717 | static int ctnetlink_dump_one_entry(struct sk_buff *skb,
> > | ^~~~~~~~~~~~~~~~~~~~~~~~
> >
> > Introduced by commit
> >
> > 8a75a2c17410 ("netfilter: conntrack: remove unconfirmed list")
>
> So for my i386 defconfig build this became on error, so I have applied
> the following patch for today.
>
> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Tue, 17 May 2022 18:58:43 +1000
> Subject: [PATCH] fix up for "netfilter: conntrack: remove unconfirmed list"
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>

Thanks Stephen.

Acked-by: Florian Westphal <fw@xxxxxxxxx>