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

From: Xu Zaibo
Date: Fri Jan 17 2020 - 04:47:48 EST



Yes, thanks.


On 2020/1/17 17:28, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

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

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
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;