diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-09-26 12:15:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-28 20:24:39 +0300 |
commit | 48fde90a78f8c67e2bec5061f9725fe363519feb (patch) | |
tree | 9a1c59ea9061b11a42fc02b9b8749404431e757b /lib/checksum.c | |
parent | fe3b30ddb90face841b2ede3b73ed2e9cfece6ba (diff) | |
download | linux-48fde90a78f8c67e2bec5061f9725fe363519feb.tar.xz |
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 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions