Skip to content

Commit

Permalink
crypto: engine - Add parameter description in crypto_transfer_request…
Browse files Browse the repository at this point in the history
…() kernel-doc comment

Add the description of @need_pump in crypto_transfer_request() kernel-doc
comment to remove warning found by running scripts/kernel-doc, which is
caused by using 'make W=1'.

crypto/crypto_engine.c:260: warning: Function parameter or member
'need_pump' not described in 'crypto_transfer_request'

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Yang Li authored and herbertx committed Apr 8, 2022
1 parent 5b33e0e commit d5db91d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/crypto_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ static void crypto_pump_work(struct kthread_work *work)
* crypto_transfer_request - transfer the new request into the engine queue
* @engine: the hardware engine
* @req: the request need to be listed into the engine queue
* @need_pump: indicates whether queue the pump of request to kthread_work
*/
static int crypto_transfer_request(struct crypto_engine *engine,
struct crypto_async_request *req,
Expand Down

0 comments on commit d5db91d

Please sign in to comment.