diff options
author | Alex Elder <elder@linaro.org> | 2020-03-12 11:44:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-12 15:48:37 -0700 |
commit | e31a50162feb352147d3fc87b9e036703c8f2636 (patch) | |
tree | efa42592a94ddb1b3cb2b62a8a1e6a903c914cbb /crypto/salsa20_generic.c | |
parent | 82a9822b26770b3965790f6a2340f0341a9bc102 (diff) |
bitfield.h: add FIELD_MAX() and field_max()
Define FIELD_MAX(), which supplies the maximum value that can be
represented by a field value. Define field_max() as well, to go
along with the lower-case forms of the field mask functions.
Signed-off-by: Alex Elder <elder@linaro.org>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/salsa20_generic.c')
0 files changed, 0 insertions, 0 deletions