summaryrefslogtreecommitdiff
path: root/drivers/crypto/atmel-sha.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-10-28 15:45:02 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-08 23:00:46 +0800
commit427e6e3ad98ce17dae2ef61f56664c7b97745320 (patch)
tree8b915e6254828b41ee5ce1e18869aad8c461d832 /drivers/crypto/atmel-sha.c
parent1520c72596dde7f22b8bd6bed3ef7df2b8b7ef39 (diff)
downloadlinux-rt-427e6e3ad98ce17dae2ef61f56664c7b97745320.tar.gz
crypto: atmel - Fix remaining endianess warnings
This patch fixes the remaining sparse endianness warnings. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-sha.c')
-rw-r--r--drivers/crypto/atmel-sha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-sha.c b/drivers/crypto/atmel-sha.c
index d32626458e67..8ea0e4bcde0d 100644
--- a/drivers/crypto/atmel-sha.c
+++ b/drivers/crypto/atmel-sha.c
@@ -360,7 +360,7 @@ static size_t atmel_sha_append_sg(struct atmel_sha_reqctx *ctx)
static void atmel_sha_fill_padding(struct atmel_sha_reqctx *ctx, int length)
{
unsigned int index, padlen;
- u64 bits[2];
+ __be64 bits[2];
u64 size[2];
size[0] = ctx->digcnt[0];