Skip to content

Commit 4653e5d

Browse files
axboeakpm00
authored andcommitted
task_work: add kerneldoc annotation for 'data' argument
A previous commit changed the arguments to task_work_cancel_match(), but didn't document all of them. Link: https://lkml.kernel.org/r/[email protected] Fixes: c7aab1a ("task_work: add helper for more targeted task_work canceling") Signed-off-by: Jens Axboe <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Acked-by: Oleg Nesterov <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 7b08675 commit 4653e5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/task_work.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ int task_work_add(struct task_struct *task, struct callback_head *work,
7878
* task_work_cancel_match - cancel a pending work added by task_work_add()
7979
* @task: the task which should execute the work
8080
* @match: match function to call
81+
* @data: data to be passed in to match function
8182
*
8283
* RETURNS:
8384
* The found work or NULL if not found.

0 commit comments

Comments
 (0)