[next] crypto: hisilicon: fix spelling mistake "disgest" -> "digest"
diff mbox series

Message ID 20200117092819.97640-1-colin.king@canonical.com
State Accepted
Delegated to: Herbert Xu
Headers show
Series
  • [next] crypto: hisilicon: fix spelling mistake "disgest" -> "digest"
Related show

Commit Message

Colin King Jan. 17, 2020, 9:28 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Zaibo Xu Jan. 17, 2020, 9:32 a.m. UTC | #1
Yes, thanks.


On 2020/1/17 17:28, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   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;
Herbert Xu Jan. 22, 2020, 10:15 a.m. UTC | #2
On Fri, Jan 17, 2020 at 09:28:19AM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in an error message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.

Patch
diff mbox series

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;