[PATCH v3] crypto: engine - Fix struct crypto_engine_op doc

David Yang posted 1 patch 2 years, 7 months ago
include/crypto/engine.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v3] crypto: engine - Fix struct crypto_engine_op doc
Posted by David Yang 2 years, 7 months ago
Remove redundant underscore and fix some grammar in prepare_request doc.

Signed-off-by: David Yang <mmyangfl@gmail.com>
---
v2: fix description too
v3: remove inappropriate commit tags
 include/crypto/engine.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/crypto/engine.h b/include/crypto/engine.h
index ae133e98d813..2038764b30c2 100644
--- a/include/crypto/engine.h
+++ b/include/crypto/engine.h
@@ -78,7 +78,7 @@ struct crypto_engine {
 
 /*
  * struct crypto_engine_op - crypto hardware engine operations
- * @prepare__request: do some prepare if need before handle the current request
+ * @prepare_request: do some preparation if needed before handling the current request
  * @unprepare_request: undo any work done by prepare_request()
  * @do_one_request: do encryption for current request
  */
-- 
2.39.2
Re: [PATCH v3] crypto: engine - Fix struct crypto_engine_op doc
Posted by Herbert Xu 2 years, 7 months ago
On Tue, Apr 25, 2023 at 01:20:21AM +0800, David Yang wrote:
> Remove redundant underscore and fix some grammar in prepare_request doc.
> 
> Signed-off-by: David Yang <mmyangfl@gmail.com>
> ---
> v2: fix description too
> v3: remove inappropriate commit tags
>  include/crypto/engine.h | 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: [PATCH v3] crypto: engine - Fix struct crypto_engine_op doc
Posted by Randy Dunlap 2 years, 7 months ago

On 4/24/23 10:20, David Yang wrote:
> Remove redundant underscore and fix some grammar in prepare_request doc.
> 
> Signed-off-by: David Yang <mmyangfl@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
> v2: fix description too
> v3: remove inappropriate commit tags
>  include/crypto/engine.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/crypto/engine.h b/include/crypto/engine.h
> index ae133e98d813..2038764b30c2 100644
> --- a/include/crypto/engine.h
> +++ b/include/crypto/engine.h
> @@ -78,7 +78,7 @@ struct crypto_engine {
>  
>  /*
>   * struct crypto_engine_op - crypto hardware engine operations
> - * @prepare__request: do some prepare if need before handle the current request
> + * @prepare_request: do some preparation if needed before handling the current request
>   * @unprepare_request: undo any work done by prepare_request()
>   * @do_one_request: do encryption for current request
>   */

-- 
~Randy