2021-03-30 11:38:55

by GONG, Ruiqi

[permalink] [raw]
Subject: [PATCH -next] crypto: hisilicon/hpre - fix a typo in hpre_crypto.c

Do a trivial typo fix.
s/discribed/described

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Ruiqi Gong <[email protected]>
---
drivers/crypto/hisilicon/hpre/hpre_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/hisilicon/hpre/hpre_crypto.c b/drivers/crypto/hisilicon/hpre/hpre_crypto.c
index d743c540d602..9fbb573fdb1e 100644
--- a/drivers/crypto/hisilicon/hpre/hpre_crypto.c
+++ b/drivers/crypto/hisilicon/hpre/hpre_crypto.c
@@ -1758,7 +1758,7 @@ static int hpre_curve25519_src_init(struct hpre_asym_request *hpre_req,

/*
* Src_data(gx) is in little-endian order, MSB in the final byte should
- * be masked as discribed in RFC7748, then transform it to big-endian
+ * be masked as described in RFC7748, then transform it to big-endian
* form, then hisi_hpre can use the data.
*/
ptr[31] &= 0x7f;
--
2.17.1


2021-04-09 07:53:08

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH -next] crypto: hisilicon/hpre - fix a typo in hpre_crypto.c

On Tue, Mar 30, 2021 at 07:51:24AM -0400, Ruiqi Gong wrote:
> Do a trivial typo fix.
> s/discribed/described
>
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Ruiqi Gong <[email protected]>
> ---
> drivers/crypto/hisilicon/hpre/hpre_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