Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-01 | Fix type of bit-number parameter to set_bit() and clear_bit() | Ben Hutchings | 1 | -2/+2 | |
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> | |||||
2011-11-01 | Combine ethtool-{bitops,util}.h into internal.h | Ben Hutchings | 1 | -0/+164 | |
ethtool-util.h contains all kinds of declarations, not just utility functions or macros. ethtool-bitops.h contains just a few extra definitions, and its only user also includes ethtool-util.h. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> |