2021-01-26 06:41:34

by dingsenjie

[permalink] [raw]
Subject: [PATCH] crypto/ccree: fix spelling typo of allocated

From: dingsenjie <[email protected]>

allocted -> allocated

Signed-off-by: dingsenjie <[email protected]>
---
drivers/crypto/ccree/cc_cipher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c
index cdfee50..78833491 100644
--- a/drivers/crypto/ccree/cc_cipher.c
+++ b/drivers/crypto/ccree/cc_cipher.c
@@ -921,7 +921,7 @@ static int cc_cipher_process(struct skcipher_request *req,
return crypto_skcipher_decrypt(subreq);
}

- /* The IV we are handed may be allocted from the stack so
+ /* The IV we are handed may be allocated from the stack so
* we must copy it to a DMAable buffer before use.
*/
req_ctx->iv = kmemdup(iv, ivsize, flags);
--
1.9.1


2021-02-05 03:39:46

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto/ccree: fix spelling typo of allocated

[email protected] wrote:
> From: dingsenjie <[email protected]>
>
> allocted -> allocated
>
> Signed-off-by: dingsenjie <[email protected]>
> ---
> drivers/crypto/ccree/cc_cipher.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