]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: sun8i-ce - move fallback ahash_request to the end of the struct
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>
Fri, 16 May 2025 12:06:56 +0000 (15:06 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 May 2025 05:48:48 +0000 (13:48 +0800)
commitc822831b426307a6ca426621504d3c7f99765a39
treeb15fb10348b8a1699f92b56b11d0f60ab41a1889
parentd15cbe7137caae0de4fcd368e6f4d89b42b6538b
crypto: sun8i-ce - move fallback ahash_request to the end of the struct

'struct ahash_request' has a flexible array at the end, so it must be the
last member in a struct, to avoid overwriting other struct members.

Therefore, move 'fallback_req' to the end of the 'sun8i_ce_hash_reqctx'
struct.

Fixes: 56f6d5aee88d ("crypto: sun8i-ce - support hash algorithms")
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h