[PATCH] crypto: algapi: Use pr_err common logging style.
From: Karim Eshapa
Date: Sat May 13 2017 - 15:05:39 EST
Use more common error logging style.
Signed-off-by: Karim Eshapa <karim.eshapa@xxxxxxxxx>
---
crypto/algapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/algapi.c b/crypto/algapi.c
index 9eed4ef..e4cc761 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:
--
2.7.4