* [PATCH -next] task_work: fix doc warnings in task_work.c
@ 2021-06-05 6:41 Baokun Li
0 siblings, 0 replies; only message in thread
From: Baokun Li @ 2021-06-05 6:41 UTC (permalink / raw)
To: axboe, oleg, tglx, dvyukov, akpm, walter-zh.wu, linux-kernel
Cc: weiyongjun1, yuehaibing, yangjihong1, yukuai3, libaokun1
Add description for `task_work_cancel_match` to fix the W=1 warnings:
kernel/task_work.c:76: warning: Function parameter or
member 'data' not described in 'task_work_cancel_match'
Signed-off-by: Baokun Li <libaokun1@huawei.com>
---
kernel/task_work.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/task_work.c b/kernel/task_work.c
index 1698fbe6f0e1..3992ebaabde5 100644
--- a/kernel/task_work.c
+++ b/kernel/task_work.c
@@ -65,7 +65,7 @@ int task_work_add(struct task_struct *task, struct callback_head *work,
* task_work_cancel_match - cancel a pending work added by task_work_add()
* @task: the task which should execute the work
* @match: match function to call
- *
+ * @data: data to match
* RETURNS:
* The found work or NULL if not found.
*/
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-05 6:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05 6:41 [PATCH -next] task_work: fix doc warnings in task_work.c Baokun Li
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.