Thread (52 messages) 52 messages, 4 authors, 2021-10-26
STALE1712d REVIEWED: 1 (0M)
Revisions (3)
  1. v2 [diff vs current]
  2. v3 [diff vs current]
  3. v4 current

[PATCH v4 17/20] crypto: qce: Print a failure msg in case probe() fails

From: Bhupesh Sharma <hidden>
Date: 2021-10-13 11:00:05
Also in: linux-arm-msm, linux-crypto, lkml
Subsystem: crypto api, qualcomm crypto drivers, the rest · Maintainers: Herbert Xu, "David S. Miller", Bartosz Golaszewski, Linus Torvalds

Print a failure message (dev_err) in case the qcom qce crypto
driver probe() fails.

Cc: Bjorn Andersson <redacted>
Cc: Rob Herring <robh+dt@kernel.org>
Reviewed-by: Thara Gopinath <redacted>
Signed-off-by: Bhupesh Sharma <redacted>
---
 drivers/crypto/qce/core.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c
index 576c416461f9..cb8c77709e1e 100644
--- a/drivers/crypto/qce/core.c
+++ b/drivers/crypto/qce/core.c
@@ -281,6 +281,8 @@ static int qce_crypto_probe(struct platform_device *pdev)
 	icc_set_bw(qce->mem_path, 0, 0);
 err_mem_path_put:
 	icc_put(qce->mem_path);
+
+	dev_err(dev, "%s failed : %d\n", __func__, ret);
 	return ret;
 }
 
-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help