2020-01-17 09:45:32

by Colin King

[permalink] [raw]
Subject: [PATCH][next] crypto: hisilicon: fix spelling mistake "disgest" -> "digest"

From: Colin Ian King <[email protected]>

There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c b/drivers/crypto/hisilicon/sec2/sec_crypto.c
index a0a35685e838..a2cfcc9ccd94 100644
--- a/drivers/crypto/hisilicon/sec2/sec_crypto.c
+++ b/drivers/crypto/hisilicon/sec2/sec_crypto.c
@@ -690,7 +690,7 @@ static int sec_aead_auth_set_key(struct sec_auth_ctx *ctx,
ret = crypto_shash_digest(shash, keys->authkey,
keys->authkeylen, ctx->a_key);
if (ret) {
- pr_err("hisi_sec2: aead auth disgest error!\n");
+ pr_err("hisi_sec2: aead auth digest error!\n");
return -EINVAL;
}
ctx->a_key_len = blocksize;
--
2.24.0


2020-01-17 09:49:10

by Xu Zaibo

[permalink] [raw]
Subject: Re: [PATCH][next] crypto: hisilicon: fix spelling mistake "disgest" -> "digest"


Yes, thanks.


On 2020/1/17 17:28, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c b/drivers/crypto/hisilicon/sec2/sec_crypto.c
> index a0a35685e838..a2cfcc9ccd94 100644
> --- a/drivers/crypto/hisilicon/sec2/sec_crypto.c
> +++ b/drivers/crypto/hisilicon/sec2/sec_crypto.c
> @@ -690,7 +690,7 @@ static int sec_aead_auth_set_key(struct sec_auth_ctx *ctx,
> ret = crypto_shash_digest(shash, keys->authkey,
> keys->authkeylen, ctx->a_key);
> if (ret) {
> - pr_err("hisi_sec2: aead auth disgest error!\n");
> + pr_err("hisi_sec2: aead auth digest error!\n");
> return -EINVAL;
> }
> ctx->a_key_len = blocksize;


2020-01-22 10:15:59

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH][next] crypto: hisilicon: fix spelling mistake "disgest" -> "digest"

On Fri, Jan 17, 2020 at 09:28:19AM +0000, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

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