projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac5d15b
)
crypto: caam/qi2 - rate-limit enqueue failure prints
author
Horia Geantă
<horia.geanta@nxp.com>
Mon, 11 Feb 2019 11:46:13 +0000
(13:46 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 22 Feb 2019 04:47:26 +0000
(12:47 +0800)
Avoid console being flooded with prints in case HW is too busy to accept
new enqueue requests.
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg_qi2.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/caam/caamalg_qi2.c
b/drivers/crypto/caam/caamalg_qi2.c
index
ce27c88
..
6a6a508
100644
(file)
--- a/
drivers/crypto/caam/caamalg_qi2.c
+++ b/
drivers/crypto/caam/caamalg_qi2.c
@@
-5280,7
+5280,7
@@
int dpaa2_caam_enqueue(struct device *dev, struct caam_request *req)
}
if (unlikely(err)) {
- dev_err(dev, "Error enqueuing frame: %d\n", err);
+ dev_err
_ratelimited
(dev, "Error enqueuing frame: %d\n", err);
goto err_out;
}