crypto: talitos - Remove GFP_DMA and add DMA alignment padding
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Dec 2022 07:31:33 +0000 (15:31 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Jan 2023 09:15:47 +0000 (17:15 +0800)
commit8e613cec25196b51601dfac50c5bf229acd72bc6
tree0680bd4327c142878ae3ce38bf8b12bb5a59f5fb
parent199354d7fb6eaa2cc5bb650af0bca624baffee35
crypto: talitos - Remove GFP_DMA and add DMA alignment padding

GFP_DMA does not guarantee that the returned memory is aligned
for DMA.  It should be removed where it is superfluous.

However, kmalloc may start returning DMA-unaligned memory in future
so fix this by adding the alignment by hand.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c