summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-aes.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-10-28 08:45:02 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-08 16:00:46 +0100
commit427e6e3ad98ce17dae2ef61f56664c7b97745320 (patch)
tree8b915e6254828b41ee5ce1e18869aad8c461d832 /drivers/crypto/atmel-aes.c
parentcrypto: atmel - Fix authenc support when it is set to m (diff)
downloadlinux-427e6e3ad98ce17dae2ef61f56664c7b97745320.tar.xz
linux-427e6e3ad98ce17dae2ef61f56664c7b97745320.zip
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-aes.c')
-rw-r--r--drivers/crypto/atmel-aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c
index c5ec74171fbf..f24af212260b 100644
--- a/drivers/crypto/atmel-aes.c
+++ b/drivers/crypto/atmel-aes.c
@@ -2048,7 +2048,7 @@ static int atmel_aes_authenc_transfer(struct atmel_aes_dev *dd, int err,
struct atmel_aes_authenc_reqctx *rctx = aead_request_ctx(req);
bool enc = atmel_aes_is_encrypt(dd);
struct scatterlist *src, *dst;
- u32 iv[AES_BLOCK_SIZE / sizeof(u32)];
+ __be32 iv[AES_BLOCK_SIZE / sizeof(u32)];
u32 emr;
if (is_async)