2022-06-23 10:28:27

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] crypto: caam - drop unexpected word 'for' in comments

there is an unexpected word 'for' in the comments that need to be dropped

file - drivers/crypto/caam/caamhash_desc.c
line - 25

* must be false for for ahash first and digest

changed to:

* must be false for ahash first and digest

Signed-off-by: Jiang Jian <[email protected]>
---
drivers/crypto/caam/caamhash_desc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/caam/caamhash_desc.c b/drivers/crypto/caam/caamhash_desc.c
index 78383d77da99..619564509936 100644
--- a/drivers/crypto/caam/caamhash_desc.c
+++ b/drivers/crypto/caam/caamhash_desc.c
@@ -22,7 +22,7 @@
* @ctx_len: size of Context Register
* @import_ctx: true if previous Context Register needs to be restored
* must be true for ahash update and final
- * must be false for for ahash first and digest
+ * must be false for ahash first and digest
* @era: SEC Era
*/
void cnstr_shdsc_ahash(u32 * const desc, struct alginfo *adata, u32 state,
--
2.17.1


2022-06-23 11:19:38

by Gaurav Jain

[permalink] [raw]
Subject: RE: [EXT] [PATCH] crypto: caam - drop unexpected word 'for' in comments

Reviewed-by: Gaurav Jain <[email protected]>

> -----Original Message-----
> From: Jiang Jian <[email protected]>
> Sent: Thursday, June 23, 2022 3:56 PM
> To: [email protected]; Pankaj Gupta <[email protected]>; Gaurav
> Jain <[email protected]>; [email protected];
> [email protected]
> Cc: [email protected]; [email protected]; Jiang Jian
> <[email protected]>
> Subject: [EXT] [PATCH] crypto: caam - drop unexpected word 'for' in comments
>
> Caution: EXT Email
>
> there is an unexpected word 'for' in the comments that need to be dropped
>
> file - drivers/crypto/caam/caamhash_desc.c
> line - 25
>
> * must be false for for ahash first and digest
>
> changed to:
>
> * must be false for ahash first and digest
>
> Signed-off-by: Jiang Jian <[email protected]>
> ---
> drivers/crypto/caam/caamhash_desc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/crypto/caam/caamhash_desc.c
> b/drivers/crypto/caam/caamhash_desc.c
> index 78383d77da99..619564509936 100644
> --- a/drivers/crypto/caam/caamhash_desc.c
> +++ b/drivers/crypto/caam/caamhash_desc.c
> @@ -22,7 +22,7 @@
> * @ctx_len: size of Context Register
> * @import_ctx: true if previous Context Register needs to be restored
> * must be true for ahash update and final
> - * must be false for for ahash first and digest
> + * must be false for ahash first and digest
> * @era: SEC Era
> */
> void cnstr_shdsc_ahash(u32 * const desc, struct alginfo *adata, u32 state,
> --
> 2.17.1