diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2011-10-27 19:11:35 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2011-11-01 16:50:55 +0000 |
commit | be76a4529148c2790f53ccc8e879b4cc6b34b6b9 (patch) | |
tree | 6553f2402b464705a6a69d15646efb75afba6d04 /marvell.c | |
parent | 5ba70c0086c0d474c7cd1a4afcd131d42b941176 (diff) | |
download | ethtool-be76a4529148c2790f53ccc8e879b4cc6b34b6b9.tar.gz |
Fix type of bit-number parameter to set_bit() and clear_bit()
The index must not be negative, so the parameter does not need to be
signed. Division and modulus on signed operands generally cannot be
optimised to right-shift and bitwise-and.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'marvell.c')
0 files changed, 0 insertions, 0 deletions