crypto: algapi - Use pr_err common logging style.
authorKarim Eshapa <karim.eshapa@gmail.com>
Sat, 13 May 2017 19:05:19 +0000 (21:05 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 19 Jun 2017 06:11:58 +0000 (14:11 +0800)
Use more common error logging style.

Signed-off-by: Karim Eshapa <karim.eshapa@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c

index 9eed4ef9c9712688a8ee3ee555c253a81a1ba5f7..e4cc7615a13954e581f020c7937eeec099102a26 100644 (file)
@@ -260,7 +260,7 @@ void crypto_alg_tested(const char *name, int err)
                        goto found;
        }
 
-       printk(KERN_ERR "alg: Unexpected test result for %s: %d\n", name, err);
+       pr_err("alg: Unexpected test result for %s: %d\n", name, err);
        goto unlock;
 
 found: