Re: [PATCH net-next] netfilter: add ifdef around ctnetlink_proto_size

2017-11-15 Thread David Miller
From: Pablo Neira Ayuso Date: Wed, 15 Nov 2017 18:28:21 +0100 > From: Arnd Bergmann > > This function is no longer marked 'inline', so we now get a warning > when it is unused: > > net/netfilter/nf_conntrack_netlink.c:536:15: error: 'ctnetlink_proto_size'

[PATCH net-next] netfilter: add ifdef around ctnetlink_proto_size

2017-11-15 Thread Pablo Neira Ayuso
From: Arnd Bergmann This function is no longer marked 'inline', so we now get a warning when it is unused: net/netfilter/nf_conntrack_netlink.c:536:15: error: 'ctnetlink_proto_size' defined but not used [-Werror=unused-function] We could mark it inline again, mark it

Re: [PATCH] [net-next] netfilter: add ifdef around ctnetlink_proto_size

2017-11-13 Thread Pablo Neira Ayuso
On Tue, Nov 07, 2017 at 03:11:51PM +0100, Arnd Bergmann wrote: > This function is no longer marked 'inline', so we now get a warning > when it is unused: > > net/netfilter/nf_conntrack_netlink.c:536:15: error: 'ctnetlink_proto_size' > defined but not used [-Werror=unused-function] > > We could

[PATCH] [net-next] netfilter: add ifdef around ctnetlink_proto_size

2017-11-07 Thread Arnd Bergmann
This function is no longer marked 'inline', so we now get a warning when it is unused: net/netfilter/nf_conntrack_netlink.c:536:15: error: 'ctnetlink_proto_size' defined but not used [-Werror=unused-function] We could mark it inline again, mark it __maybe_unused, or add an #ifdef around the