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/93938bff-baa3-4091-85f5-784aae297a07@kernel.dk Fixes: c7aab1a ("task_work: add helper for more targeted task_work canceling") Signed-off-by: Jens Axboe <axboe@kernel.dk> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202309120307.zis3yQGe-lkp@intel.com/ Acked-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
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)