diff options
author | Eric Biggers | 2019-01-10 21:17:52 +0100 |
---|---|---|
committer | Herbert Xu | 2019-01-18 11:43:42 +0100 |
commit | 18666550f4c51e331551682d358dcfe3aca76a37 (patch) | |
tree | 61fe1e070e18319d09d52ec0639d74c3b8854ca8 /crypto/rsa-pkcs1pad.c | |
parent | crypto: brcm - Fix some set-but-not-used warning (diff) | |
download | kernel-qcow2-linux-18666550f4c51e331551682d358dcfe3aca76a37.tar.gz kernel-qcow2-linux-18666550f4c51e331551682d358dcfe3aca76a37.tar.xz kernel-qcow2-linux-18666550f4c51e331551682d358dcfe3aca76a37.zip |
crypto: gcm - use correct endianness type in gcm_hash_len()
In gcm_hash_len(), use be128 rather than u128. This fixes the following
sparse warnings:
crypto/gcm.c:252:19: warning: incorrect type in assignment (different base types)
crypto/gcm.c:252:19: expected unsigned long long [usertype] a
crypto/gcm.c:252:19: got restricted __be64 [usertype]
crypto/gcm.c:253:19: warning: incorrect type in assignment (different base types)
crypto/gcm.c:253:19: expected unsigned long long [usertype] b
crypto/gcm.c:253:19: got restricted __be64 [usertype]
No actual change in behavior.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rsa-pkcs1pad.c')
0 files changed, 0 insertions, 0 deletions