Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1640979

[PATCH] crypto: algapi: Use pr_err common logging style.

From Karim Eshapa <karim.eshapa@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] crypto: algapi: Use pr_err common logging style.
Date 2017-05-13 21:10 +0200
Message-ID <tGKAq-7Ln-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Use more common error logging style.

Signed-off-by: Karim Eshapa <karim.eshapa@gmail.com>
---
 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] crypto: algapi: Use pr_err common logging style. Karim Eshapa <karim.eshapa@gmail.com> - 2017-05-13 21:10 +0200

csiph-web