Skip to content

Commit d9f2d01

Browse files
horiagherbertx
authored andcommitted
crypto: caam/qi2 - fix error reporting for caam_hash_alloc
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ă <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 81f2288 commit d9f2d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/caam/caamalg_qi2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5238,7 +5238,7 @@ static int dpaa2_caam_probe(struct fsl_mc_device *dpseci_dev)
52385238
if (IS_ERR(t_alg)) {
52395239
err = PTR_ERR(t_alg);
52405240
dev_warn(dev, "%s hash alg allocation failed: %d\n",
5241-
alg->driver_name, err);
5241+
alg->hmac_driver_name, err);
52425242
continue;
52435243
}
52445244

0 commit comments

Comments
 (0)