Re: [PATCH] crypto: hisilicon/qm - check mailbox operation result

From: Herbert Xu
Date: Fri Sep 02 2022 - 07:02:08 EST


On Sat, Aug 27, 2022 at 06:26:57PM +0800, Weili Qian wrote:
> After the mailbox operation is complete, the result may be unsuccessful.
> It needs to check the status bits of the mailbox register,
> if it fails, -EIO is returned.
>
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/qm.c | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)

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