diff options
author | Tom Rix <trix@redhat.com> | 2023-05-14 10:00:10 -0400 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-05-17 14:15:57 +0200 |
commit | 224a876e37543eee111bf9b6aa4935080e619335 (patch) | |
tree | 52be367519b35c78fe959de0bf9a0ec52acee41a /scripts/gdb/linux/interrupts.py | |
parent | ab87603b251134441a67385ecc9d3371be17b7a7 (diff) |
netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
gcc with W=1 and ! CONFIG_NF_NAT
net/netfilter/nf_conntrack_netlink.c:3463:32: error:
‘exp_nat_nla_policy’ defined but not used [-Werror=unused-const-variable=]
3463 | static const struct nla_policy exp_nat_nla_policy[CTA_EXPECT_NAT_MAX+1] = {
| ^~~~~~~~~~~~~~~~~~
net/netfilter/nf_conntrack_netlink.c:2979:33: error:
‘any_addr’ defined but not used [-Werror=unused-const-variable=]
2979 | static const union nf_inet_addr any_addr;
| ^~~~~~~~
These variables use is controlled by CONFIG_NF_NAT, so should their definitions.
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions