summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-01-03 19:41:39 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2020-03-30 12:38:57 +0100
commit406e21b10db69e05bd909727fd8b6f4f4866e810 (patch)
tree9efe3c83aafe8a885f0afdfb2a910fabe4a5e5f5 /.cocciconfig
parent5ecdbb6b1f782f468214ef5bdb89d6ebe373ea44 (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 '.cocciconfig')
0 files changed, 0 insertions, 0 deletions