[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aCrJlrZqwhtMUN_w@gondor.apana.org.au>
Date: Mon, 19 May 2025 14:03:02 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Ovidiu Panait <ovidiu.panait.oss@...il.com>
Cc: clabbe.montjoie@...il.com, davem@...emloft.net,
linux-crypto@...r.kernel.org, wens@...e.org,
jernej.skrabec@...il.com, samuel@...lland.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: sun8i-ce - move fallback ahash_request to the
end of the struct
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 <ovidiu.panait.oss@...il.com>
> ---
> drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists