projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f2288
)
crypto: caam/qi2 - fix error reporting for caam_hash_alloc
author
Horia Geantă
<horia.geanta@nxp.com>
Wed, 22 Jul 2020 12:14:53 +0000
(15:14 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 31 Jul 2020 08:25:27 +0000
(18:25 +1000)
Fix error reporting when preparation of an hmac algorithm
for registration fails: print the hmac algorithm name, not the unkeyed
hash algorithm name.
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
1b0c286
..
811d34e
100644
(file)
--- a/
drivers/crypto/caam/caamalg_qi2.c
+++ b/
drivers/crypto/caam/caamalg_qi2.c
@@
-5238,7
+5238,7
@@
static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev)
if (IS_ERR(t_alg)) {
err = PTR_ERR(t_alg);
dev_warn(dev, "%s hash alg allocation failed: %d\n",
- alg->driver_name, err);
+ alg->
hmac_
driver_name, err);
continue;
}