diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-03 19:41:39 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-02-17 16:30:01 +0000 |
commit | accc3c7e052d974e121f652bedba6919565aed1a (patch) | |
tree | c8e695c74b491f4995181fefd6a23769d3b6cc66 /tools/debugging | |
parent | 91b32d9c5985a173b41d2d3fb3fcaa0f2625c240 (diff) |
net: linkmode: make linkmode_test_bit() take const pointer
linkmode_test_bit() does not modify the address; test_bit() is also
declared const volatile for the same reason. There's no need for
linkmode_test_bit() to be any different, and allows implementation of
helpers that take a const linkmode pointer.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/debugging')
0 files changed, 0 insertions, 0 deletions