Re: [PATCH] crypto: engine - Fix typo in struct crypto_engine_op doc

From: Randy Dunlap
Date: Sun Apr 23 2023 - 20:09:12 EST


Hi--

On 4/23/23 16:55, David Yang wrote:
> There is a redundant underscore in prepare_request. Remove it.
>
> Signed-off-by: David Yang <mmyangfl@xxxxxxxxx>
> ---
> 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..b9e76ed4085b 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 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
> */

Thanks.
--
~Randy