summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarim Eshapa <karim.eshapa@gmail.com>2017-05-13 21:05:19 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-19 08:11:58 +0200
commitc72358571aaadf46755d3e38f671233a7dd48f00 (patch)
treef63d7dacaabdbc438dc4d2ff89da7114cbbe7a86
parentcrypto: doc - Fixed bugs, added example usage of calc_hash(). (diff)
downloadlinux-c72358571aaadf46755d3e38f671233a7dd48f00.tar.xz
linux-c72358571aaadf46755d3e38f671233a7dd48f00.zip
crypto: algapi - Use pr_err common logging style.
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>
-rw-r--r--crypto/algapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c
index 9eed4ef9c971..e4cc7615a139 100644
--- a/crypto/algapi.c
+++ b/crypto/algapi.c
@@ -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: