2022-05-03 00:13:34

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the net-next tree

Hi all,

After merging the net-next tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/networking/kapi:92: net/core/dev.c:4101: WARNING: Missing matching underline for section title overline.

-----------------------------------------------------------------------------------
I notice this method can also return errors from the queue disciplines,
including NET_XMIT_DROP, which is a positive value. So, errors can also


Introduced by commit

c526fd8f9f4f ("net: inline dev_queue_xmit()")

I am not sure why this has turned up just now.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2022-05-17 10:39:38

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the net-next tree

Hi all,

On Tue, 17 May 2022 11:03:03 +1000 Stephen Rothwell <[email protected]> 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 <[email protected]>
Date: Tue, 17 May 2022 18:58:43 +1000
Subject: [PATCH] fix up for "netfilter: conntrack: remove unconfirmed list"

Signed-off-by: Stephen Rothwell <[email protected]>
---
net/netfilter/nf_conntrack_netlink.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c
index e768f59741a6..722af5e309ba 100644
--- a/net/netfilter/nf_conntrack_netlink.c
+++ b/net/netfilter/nf_conntrack_netlink.c
@@ -1714,6 +1714,7 @@ static int ctnetlink_done_list(struct netlink_callback *cb)
return 0;
}

+#ifdef CONFIG_NF_CONNTRACK_EVENTS
static int ctnetlink_dump_one_entry(struct sk_buff *skb,
struct netlink_callback *cb,
struct nf_conn *ct,
@@ -1754,6 +1755,7 @@ static int ctnetlink_dump_one_entry(struct sk_buff *skb,

return res;
}
+#endif

static int
ctnetlink_dump_unconfirmed(struct sk_buff *skb, struct netlink_callback *cb)
--
2.35.1
--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2022-05-18 04:46:19

by Florian Westphal

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the net-next tree

Stephen Rothwell <[email protected]> wrote:
> Hi all,
>
> On Tue, 17 May 2022 11:03:03 +1000 Stephen Rothwell <[email protected]> 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 <[email protected]>
> Date: Tue, 17 May 2022 18:58:43 +1000
> Subject: [PATCH] fix up for "netfilter: conntrack: remove unconfirmed list"
>
> Signed-off-by: Stephen Rothwell <[email protected]>

Thanks Stephen.

Acked-by: Florian Westphal <[email protected]>

2022-05-18 23:35:06

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the net-next tree

Hi all,

On Tue, 17 May 2022 13:25:32 +0200 Florian Westphal <[email protected]> wrote:
>
> Stephen Rothwell <[email protected]> wrote:
> >
> > On Tue, 17 May 2022 11:03:03 +1000 Stephen Rothwell <[email protected]> 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 <[email protected]>
> > Date: Tue, 17 May 2022 18:58:43 +1000
> > Subject: [PATCH] fix up for "netfilter: conntrack: remove unconfirmed list"
> >
> > Signed-off-by: Stephen Rothwell <[email protected]>
>
> Thanks Stephen.
>
> Acked-by: Florian Westphal <[email protected]>

This is still not fixed in the net-next (or the netfilter-next) tree.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature