Loading include/linux/nl802154.h +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ enum { #define IEEE802154_ATTR_MAX (__IEEE802154_ATTR_MAX - 1) extern struct nla_policy ieee802154_policy[]; extern const struct nla_policy ieee802154_policy[]; /* commands */ /* REQ should be responded with CONF Loading net/ieee802154/nl_policy.c +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ #define NLA_HW_ADDR NLA_U64 struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { const struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { [IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, }, [IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, }, Loading @@ -50,3 +50,4 @@ struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { [IEEE802154_ATTR_DURATION] = { .type = NLA_U8, }, [IEEE802154_ATTR_ED_LIST] = { .len = 27 }, }; Loading
include/linux/nl802154.h +1 −1 Original line number Diff line number Diff line Loading @@ -69,7 +69,7 @@ enum { #define IEEE802154_ATTR_MAX (__IEEE802154_ATTR_MAX - 1) extern struct nla_policy ieee802154_policy[]; extern const struct nla_policy ieee802154_policy[]; /* commands */ /* REQ should be responded with CONF Loading
net/ieee802154/nl_policy.c +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ #define NLA_HW_ADDR NLA_U64 struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { const struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { [IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, }, [IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, }, Loading @@ -50,3 +50,4 @@ struct nla_policy ieee802154_policy[IEEE802154_ATTR_MAX + 1] = { [IEEE802154_ATTR_DURATION] = { .type = NLA_U8, }, [IEEE802154_ATTR_ED_LIST] = { .len = 27 }, };