aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ila/ila_xlat.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2016-08-31 15:20:51 -0700
committerDavid S. Miller <davem@davemloft.net>2016-09-01 14:09:01 -0700
commit6501f34ff702d5edb0f3c6fb5170b852350ba8cb (patch)
tree406ae88cf4865ce2fdb4d2cf1152396ac07a29eb /net/ipv6/ila/ila_xlat.c
parentfou: make nla_policy const (diff)
downloadlinux-dev-6501f34ff702d5edb0f3c6fb5170b852350ba8cb.tar.xz
linux-dev-6501f34ff702d5edb0f3c6fb5170b852350ba8cb.zip
ila: make nla_policy const
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv6/ila/ila_xlat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ila/ila_xlat.c b/net/ipv6/ila/ila_xlat.c
index e6eca5fdf4c9..e604013dd814 100644
--- a/net/ipv6/ila/ila_xlat.c
+++ b/net/ipv6/ila/ila_xlat.c
@@ -128,7 +128,7 @@ static struct genl_family ila_nl_family = {
.parallel_ops = true,
};
-static struct nla_policy ila_nl_policy[ILA_ATTR_MAX + 1] = {
+static const struct nla_policy ila_nl_policy[ILA_ATTR_MAX + 1] = {
[ILA_ATTR_LOCATOR] = { .type = NLA_U64, },
[ILA_ATTR_LOCATOR_MATCH] = { .type = NLA_U64, },
[ILA_ATTR_IFINDEX] = { .type = NLA_U32, },