]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/qm - fix print frequence in hisi_qp_send
authorYang Shen <shenyang39@huawei.com>
Sat, 15 Aug 2020 09:56:10 +0000 (17:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 04:47:51 +0000 (14:47 +1000)
commit3c21de342696040f0d3e8694becc2ef8645ee18f
tree0466b6d532378890037b45c56be30a7e210ae5c4
parent8eaf1e846704ff58d23b8f46bbe0423a0d498d2d
crypto: hisilicon/qm - fix print frequence in hisi_qp_send

Requests will be sent continuously as resetting, which will cause 'printk'
flooding. Using 'dev_info_ratelimited' can solve this problem well.

Fixes: 858fbf266318("crypto: hisilicon/qm - add state machine for QM")
Signed-off-by: Yang Shen <shenyang39@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c