diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2012-01-09 19:26:49 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-01-13 00:38:41 -0500 |
commit | 0113529f37bcd17399403c68736b8ba59c7397b7 (patch) | |
tree | a5626aa6b6f26ec9a844be692194c56fe7436e29 /drivers/crypto/caam/caamalg.c | |
parent | e863f9ccc7658883be7b42eb63851aef9da7630c (diff) |
crypto: caam - be less noisy on startup
sha224 and 384 support extends caam noise to 21 lines. Do the same
as commit 5b859b6 "crypto: talitos - be less noisy on startup", but
for caam, and display:
caam ffe300000.crypto: fsl,sec-v4.0 algorithms registered in /proc/crypto
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/caamalg.c')
-rw-r--r-- | drivers/crypto/caam/caamalg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c index 4cd2d84a2a15..534a36469d57 100644 --- a/drivers/crypto/caam/caamalg.c +++ b/drivers/crypto/caam/caamalg.c | |||
@@ -2401,12 +2401,12 @@ static int __init caam_algapi_init(void) | |||
2401 | dev_warn(ctrldev, "%s alg registration failed\n", | 2401 | dev_warn(ctrldev, "%s alg registration failed\n", |
2402 | t_alg->crypto_alg.cra_driver_name); | 2402 | t_alg->crypto_alg.cra_driver_name); |
2403 | kfree(t_alg); | 2403 | kfree(t_alg); |
2404 | } else { | 2404 | } else |
2405 | list_add_tail(&t_alg->entry, &priv->alg_list); | 2405 | list_add_tail(&t_alg->entry, &priv->alg_list); |
2406 | dev_info(ctrldev, "%s\n", | ||
2407 | t_alg->crypto_alg.cra_driver_name); | ||
2408 | } | ||
2409 | } | 2406 | } |
2407 | if (!list_empty(&priv->alg_list)) | ||
2408 | dev_info(ctrldev, "%s algorithms registered in /proc/crypto\n", | ||
2409 | (char *)of_get_property(dev_node, "compatible", NULL)); | ||
2410 | 2410 | ||
2411 | return err; | 2411 | return err; |
2412 | } | 2412 | } |