diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-04-30 22:13:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-30 17:51:42 -0700 |
commit | c7721c05a6217491810f406ec28df80a9bcf3546 (patch) | |
tree | d831690b3f4248af4aff149d662e26f42b249a68 /security/tomoyo/gc.c | |
parent | da4063bdfcfa70ec57a6c25f772ac6378b1584ad (diff) | |
download | linux-c7721c05a6217491810f406ec28df80a9bcf3546.tar.bz2 |
netlink: remove NLA_EXACT_LEN_WARN
Use a validation type instead, so we can later expose
the NLA_* values to userspace for policy descriptions.
Some transformations were done with this spatch:
@@
identifier p;
expression X, L, A;
@@
struct nla_policy p[X] = {
[A] =
-{ .type = NLA_EXACT_LEN_WARN, .len = L },
+NLA_POLICY_EXACT_LEN_WARN(L),
...
};
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/tomoyo/gc.c')
0 files changed, 0 insertions, 0 deletions