From: Bart Van Assche Date: Tue, 19 Mar 2019 17:45:09 +0000 (-0700) Subject: kernel/workqueue: Document wq_worker_last_func() argument X-Git-Tag: v5.2-rc1~109^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8194fe94ab08f56ea55653df924647d23873d18c;p=thirdparty%2Fkernel%2Flinux.git kernel/workqueue: Document wq_worker_last_func() argument This patch avoids that the following warning is reported when building with W=1: kernel/workqueue.c:938: warning: Function parameter or member 'task' not described in 'wq_worker_last_func' Signed-off-by: Bart Van Assche Signed-off-by: Tejun Heo --- diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 56b7cf898f108..21721faa923c8 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -913,6 +913,7 @@ struct task_struct *wq_worker_sleeping(struct task_struct *task) /** * wq_worker_last_func - retrieve worker's last work function + * @task: Task to retrieve last work function of. * * Determine the last function a worker executed. This is called from * the scheduler to get a worker's last known identity.