mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00: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:
parent
14a49e1fd2
commit
ef7c79ed64
19 changed files with 28 additions and 28 deletions
|
@ -60,7 +60,7 @@ struct genl_ops
|
|||
{
|
||||
u8 cmd;
|
||||
unsigned int flags;
|
||||
struct nla_policy *policy;
|
||||
const struct nla_policy *policy;
|
||||
int (*doit)(struct sk_buff *skb,
|
||||
struct genl_info *info);
|
||||
int (*dumpit)(struct sk_buff *skb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue