Thread (2 messages) 2 messages, 2 authors, 2025-05-19

Re: [PATCH] crypto: sun8i-ce - move fallback ahash_request to the end of the struct

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2025-05-19 06:03:15
Also in: linux-crypto, linux-sunxi, lkml

On Fri, May 16, 2025 at 03:06:56PM +0300, Ovidiu Panait wrote:
'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 <redacted>
---
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help