diff options
| author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-02-15 23:57:36 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-02-16 19:39:44 -0800 |
| commit | 8062e2333f8f7dcd5627e22b99e18d1cbb53eedb (patch) | |
| tree | 73e615519fb79cad4913a5846829ec1848b91f80 /scripts/gdb/linux/lists.py | |
| parent | ce7805513d902c07d8d4266b73b692fbdc66f440 (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.
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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions
