Re: [PATCH] crypto: hisilicon/qm - fix incorrect parameters usage
From: Herbert Xu
Date: Fri Oct 21 2022 - 07:32:52 EST
On Sat, Sep 24, 2022 at 06:14:42PM +0800, Weili Qian wrote:
> In qm_get_xqc_depth(), parameters low_bits and high_bits save
> the values of the corresponding bits. However, the values saved by the
> two parameters are opposite. As a result, the values returned to the
> callers are incorrect.
>
> Fixes: 129a9f340172 ("crypto: hisilicon/qm - get qp num and depth from hardware registers")
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/qm.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