From: Karim Eshapa Date: Sat, 13 May 2017 19:05:19 +0000 (+0200) Subject: crypto: algapi - Use pr_err common logging style. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c72358571aaadf46755d3e38f671233a7dd48f00;p=openwrt%2Fstaging%2Fblogic.git crypto: algapi - Use pr_err common logging style. Use more common error logging style. Signed-off-by: Karim Eshapa Signed-off-by: Herbert Xu --- 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: