const: struct nla_policy
Make remaining netlink policies as const. Fixup coding style where needed. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
3ffe533c87
commit
b54452b07a
@@ -75,8 +75,7 @@ MODULE_PARM_DESC(debug,
|
||||
* close to where the data is generated.
|
||||
*/
|
||||
/*
|
||||
static const
|
||||
struct nla_policy wimax_gnl_re_status_change[WIMAX_GNL_ATTR_MAX + 1] = {
|
||||
static const struct nla_policy wimax_gnl_re_status_change[WIMAX_GNL_ATTR_MAX + 1] = {
|
||||
[WIMAX_GNL_STCH_STATE_OLD] = { .type = NLA_U8 },
|
||||
[WIMAX_GNL_STCH_STATE_NEW] = { .type = NLA_U8 },
|
||||
};
|
||||
|
Reference in New Issue
Block a user