[v3] crypto: engine - Fix struct crypto_engine_op doc

Message ID 20230424172021.2893856-1-mmyangfl@gmail.com
State New
Headers
Series [v3] crypto: engine - Fix struct crypto_engine_op doc |

Commit Message

Yangfl April 24, 2023, 5:20 p.m. UTC
  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(-)
  

Comments

Randy Dunlap April 24, 2023, 7:05 p.m. UTC | #1
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
>   */
  
Herbert Xu May 12, 2023, 10:59 a.m. UTC | #2
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.
  

Patch

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
  */