Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1382026
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code |
| Date | 2016-04-18 22:10 +0200 |
| Message-ID | <rpnEC-317-19@gated-at.bofh.it> (permalink) |
| References | <roERb-Ne-5@gated-at.bofh.it> <rpmfw-1Dm-7@gated-at.bofh.it> <rpmpd-1Hn-37@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Monday 18 April 2016 20:43:36 Pablo Neira Ayuso wrote: > On Mon, Apr 18, 2016 at 08:33:15PM +0200, Arnd Bergmann wrote: > > On Monday 18 April 2016 20:16:59 Pablo Neira Ayuso wrote: > > > On Sat, Apr 16, 2016 at 10:17:43PM +0200, Arnd Bergmann wrote: > > > > A recent patch removed many 'inline' annotations for static > > > > functions in this file, which has caused warnings for functions > > > > that are not used in a given configuration, in particular when > > > > CONFIG_NF_CONNTRACK_EVENTS is disabled: > > > > > > > > nf_conntrack_netlink.c:572:15: 'ctnetlink_timestamp_size' defined but not used > > > > nf_conntrack_netlink.c:546:15: 'ctnetlink_acct_size' defined but not used > > > > nf_conntrack_netlink.c:339:12: 'ctnetlink_label_size' defined but not used > > > > > > Arnd, thanks for the fix. > > > > > > I'm planning to push this though: > > > > > > http://patchwork.ozlabs.org/patch/610820/ > > > > > > This is restoring the inlines for the size calculation functions, but > > > I think that's ok. They are rather small and they're called from the > > > event notification path (ie. packet path), so the compiler just place > > > them out of the way when not needed and we calm down the gcc warning. > > > > Looks good. I'll put this in my randconfig builder to replace my own > > patch and will let you know if you missed something. > > Thanks, will wait for your ack then. 100 clean randconfig builds later, looks good to me. Acked-by: Arnd Bergmann <arnd@arndb.de>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] netfilter: ctnetlink: add more #ifdef around unused code Arnd Bergmann <arnd@arndb.de> - 2016-04-16 22:20 +0200
Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code Pablo Neira Ayuso <pablo@netfilter.org> - 2016-04-18 20:20 +0200
Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code Arnd Bergmann <arnd@arndb.de> - 2016-04-18 20:40 +0200
Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code Pablo Neira Ayuso <pablo@netfilter.org> - 2016-04-18 20:50 +0200
Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code Arnd Bergmann <arnd@arndb.de> - 2016-04-18 22:10 +0200
Re: [PATCH] netfilter: ctnetlink: add more #ifdef around unused code Pablo Neira Ayuso <pablo@netfilter.org> - 2016-04-18 22:20 +0200
csiph-web