]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: cesa - allocate engines with main struct
authorRosen Penev <rosenp@gmail.com>
Sat, 25 Apr 2026 02:32:47 +0000 (19:32 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 7 May 2026 08:10:02 +0000 (16:10 +0800)
commit6ef4cd5b0c2b13bbf8689d50abbe51c052f31a03
treef93ef05777c15f4a77bd7e5158c89b213f63d601
parentbd11fb14dee63ec5662ec70ec48eb86304d17c4d
crypto: cesa - allocate engines with main struct

Use a flexible array member to combine and simplify allocation.

Move struct mv_cesa_dev down as flexible array members require full
definitions.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/cesa/cesa.c
drivers/crypto/marvell/cesa/cesa.h