Re: [PATCH] crypto: hisilicon/debugfs - fix the struct pointer incorrectly offset problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  drivers/crypto/hisilicon/debugfs.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux