diff options
| author | 2018-09-26 11:15:31 +0200 | |
|---|---|---|
| committer | 2018-09-28 10:24:39 -0700 | |
| commit | 48fde90a78f8c67e2bec5061f9725fe363519feb (patch) | |
| tree | 9a1c59ea9061b11a42fc02b9b8749404431e757b /include/linux/timerqueue.h | |
| parent | netlink: remove NLA_NESTED_COMPAT (diff) | |
netlink: make validation_data const
The validation data is only used within the policy that
should usually already be const, and isn't changed in any
code that uses it. Therefore, make the validation_data
pointer const.
While at it, remove the duplicate variable in the bitfield
validation that I'd otherwise have to change to const.
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
