You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[NETLINK]: Mark netlink policies const
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
14a49e1fd2
commit
ef7c79ed64
+1
-1
@@ -638,7 +638,7 @@ static struct dn_dev *dn_dev_by_index(int ifindex)
|
||||
return dn_dev;
|
||||
}
|
||||
|
||||
static struct nla_policy dn_ifa_policy[IFA_MAX+1] __read_mostly = {
|
||||
static const struct nla_policy dn_ifa_policy[IFA_MAX+1] = {
|
||||
[IFA_ADDRESS] = { .type = NLA_U16 },
|
||||
[IFA_LOCAL] = { .type = NLA_U16 },
|
||||
[IFA_LABEL] = { .type = NLA_STRING,
|
||||
|
||||
@@ -108,7 +108,7 @@ errout:
|
||||
return err;
|
||||
}
|
||||
|
||||
static struct nla_policy dn_fib_rule_policy[FRA_MAX+1] __read_mostly = {
|
||||
static const struct nla_policy dn_fib_rule_policy[FRA_MAX+1] = {
|
||||
FRA_GENERIC_POLICY,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user