aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/md/dm-crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c
index 6dbaeee48ced..facf859b9b87 100644
--- a/drivers/md/dm-crypt.c
+++ b/drivers/md/dm-crypt.c
@@ -272,7 +272,7 @@ crypt_convert_scatterlist(struct crypt_config *cc, struct scatterlist *out,
272 struct scatterlist *in, unsigned int length, 272 struct scatterlist *in, unsigned int length,
273 int write, sector_t sector) 273 int write, sector_t sector)
274{ 274{
275 u8 iv[cc->iv_size]; 275 u8 iv[cc->iv_size] __attribute__ ((aligned(__alignof__(u64))));
276 struct blkcipher_desc desc = { 276 struct blkcipher_desc desc = {
277 .tfm = cc->tfm, 277 .tfm = cc->tfm,
278 .info = iv, 278 .info = iv,