]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon - Fix duplicate print when qm occur multiple errors
authorShukun Tan <tanshukun1@huawei.com>
Mon, 20 Jan 2020 07:30:09 +0000 (15:30 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 13 Feb 2020 08:58:08 +0000 (16:58 +0800)
commitff5f16c540a9cb42b373c771a111f6120ed14266
tree617ce6ad3a599677301d162a354b980c8fd55b2e
parent76bb23e77a695dc60f374285cbc4ff8bf00973f0
crypto: hisilicon - Fix duplicate print when qm occur multiple errors

If all possible errors occurs at the same time, the error_status will be
all 1s. The doorbell timeout error and FIFO overflow error will be print
in each cycle, which should be print just once.

Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c