diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-04-30 22:13:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-01 02:51:41 +0200 |
commit | 47a1494b8208461094923400c396ce4b8163c064 (patch) | |
tree | 922bbadbfa571fae66f3c3503d7e2331c403c632 /Documentation/hwmon/w83l786ng.rst | |
parent | Merge branch 'net-dsa-b53-ARL-improvements' (diff) | |
download | linux-47a1494b8208461094923400c396ce4b8163c064.tar.xz linux-47a1494b8208461094923400c396ce4b8163c064.zip |
netlink: remove type-unsafe validation_data pointer
In the netlink policy, we currently have a void *validation_data
that's pointing to different things:
* a u32 value for bitfield32,
* the netlink policy for nested/nested array
* the string for NLA_REJECT
Remove the pointer and place appropriate type-safe items in the
union instead.
While at it, completely dissolve the pointer for the bitfield32
case and just put the value there directly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions