summaryrefslogtreecommitdiff
path: root/crypto/crypto_engine.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-03-16 09:03:01 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-04-08 16:13:30 +0800
commit364b0ae890c7669c17e256c72581f2ea9579e237 (patch)
tree0f3fc64c3562de7d75f1dcbae32e3fdbc46814ff /crypto/crypto_engine.c
parent39219a56d8c1665be99988efbce3a8db07d25932 (diff)
downloadlinux-crypto-364b0ae890c7669c17e256c72581f2ea9579e237.tar.gz
linux-crypto-364b0ae890c7669c17e256c72581f2ea9579e237.zip
crypto: engine - Add parameter description in crypto_transfer_request() 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 <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_engine.c')
-rw-r--r--crypto/crypto_engine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/crypto_engine.c b/crypto/crypto_engine.c
index 6056a990..bb8e7707 100644
--- a/crypto/crypto_engine.c
+++ b/crypto/crypto_engine.c
@@ -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,