[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z1fWWw7RuyyADQU3@gondor.apana.org.au>
Date: Tue, 10 Dec 2024 13:49:15 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Chenghai Huang <huangchenghai2@...wei.com>
Cc: davem@...emloft.net, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, qianweili@...wei.com,
wangzhou1@...ilicon.com
Subject: Re: [PATCH] crypto: hisilicon/debugfs - fix the struct pointer
incorrectly offset problem
On Sat, Nov 30, 2024 at 04:01:31PM +0800, Chenghai Huang wrote:
> Offset based on (id * size) is wrong for sqc and cqc.
> (*sqc/*cqc + 1) can already offset sizeof(struct(Xqc)) length.
>
> Fixes: 15f112f9cef5 ("crypto: hisilicon/debugfs - mask the unnecessary info from the dump")
> Signed-off-by: Chenghai Huang <huangchenghai2@...wei.com>
> ---
> drivers/crypto/hisilicon/debugfs.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
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