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

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/crypto/caam/caamhash_desc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] crypto: caam - drop unexpected word 'for' in comments
Posted by Jiang Jian 3 years, 10 months ago
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 <jiangjian@cdjrlc.com>
---
 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
Re: [PATCH] crypto: caam - drop unexpected word 'for' in comments
Posted by Herbert Xu 3 years, 9 months ago
Jiang Jian <jiangjian@cdjrlc.com> wrote:
> 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 <jiangjian@cdjrlc.com>
> ---
> drivers/crypto/caam/caamhash_desc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
RE: [EXT] [PATCH] crypto: caam - drop unexpected word 'for' in comments
Posted by Gaurav Jain 3 years, 10 months ago
Reviewed-by: Gaurav Jain <gaurav.jain@nxp.com>

> -----Original Message-----
> From: Jiang Jian <jiangjian@cdjrlc.com>
> Sent: Thursday, June 23, 2022 3:56 PM
> To: +horia.geanta@nxp.com; Pankaj Gupta <pankaj.gupta@nxp.com>; Gaurav
> Jain <gaurav.jain@nxp.com>; herbert@gondor.apana.org.au;
> davem@davemloft.net
> Cc: linux-crypto@vger.kernel.org; linux-kernel@vger.kernel.org; Jiang Jian
> <jiangjian@cdjrlc.com>
> 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 <jiangjian@cdjrlc.com>
> ---
>  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