mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
fou: make nla_policy const
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3ee5256da0
commit
3f18ff2b42
1 changed files with 1 additions and 1 deletions
|
|
@ -631,7 +631,7 @@ static struct genl_family fou_nl_family = {
|
||||||
.netnsok = true,
|
.netnsok = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct nla_policy fou_nl_policy[FOU_ATTR_MAX + 1] = {
|
static const struct nla_policy fou_nl_policy[FOU_ATTR_MAX + 1] = {
|
||||||
[FOU_ATTR_PORT] = { .type = NLA_U16, },
|
[FOU_ATTR_PORT] = { .type = NLA_U16, },
|
||||||
[FOU_ATTR_AF] = { .type = NLA_U8, },
|
[FOU_ATTR_AF] = { .type = NLA_U8, },
|
||||||
[FOU_ATTR_IPPROTO] = { .type = NLA_U8, },
|
[FOU_ATTR_IPPROTO] = { .type = NLA_U8, },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue