From: Chenghai Huang <huangchenghai2@huawei.com> driver inclusion category: cleanup bugzilla: https://atomgit.com/openeuler/kernel/issues/10368 CVE: NA ---------------------------------------------------------------------- crypto testmgr runs algorithm tests concurrently. When pf_q_num is configured small, hardware queue allocation may transiently fail and print "Failed to create qps", which users misread as a self-test failure. Remove the misleading log; the error code stays for real callers. Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com> Signed-off-by: Ruibin Deng <dengruibin@h-partners.com> --- drivers/crypto/hisilicon/qm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 67201faf3cbc..636f1886aa8f 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -3978,9 +3978,6 @@ int hisi_qm_alloc_qps_node(struct hisi_qm_list *qm_list, int qp_num, } mutex_unlock(&qm_list->lock); - if (ret) - pr_info("Failed to create qps, node[%d], qp[%d]!\n", - node, qp_num); err: free_list(&head); -- 2.43.0