summaryrefslogtreecommitdiff
path: root/include/target
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-02-16 02:57:36 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-17 06:39:44 +0300
commit8062e2333f8f7dcd5627e22b99e18d1cbb53eedb (patch)
tree73e615519fb79cad4913a5846829ec1848b91f80 /include/target
parentce7805513d902c07d8d4266b73b692fbdc66f440 (diff)
downloadlinux-8062e2333f8f7dcd5627e22b99e18d1cbb53eedb.tar.xz
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. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions