2017-05-13 19:05:31

by Karim Eshapa

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

Use more common error logging style.

Signed-off-by: Karim Eshapa <[email protected]>
---
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


2017-06-19 06:42:23

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: algapi: Use pr_err common logging style.

Karim Eshapa <[email protected]> wrote:
> Use more common error logging style.
>
> Signed-off-by: Karim Eshapa <[email protected]>

[email protected]
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

2017-06-19 06:42:43

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: algapi: Use pr_err common logging style.

Karim Eshapa <[email protected]> wrote:
> Use more common error logging style.
>
> Signed-off-by: Karim Eshapa <[email protected]>

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt