Commit 8194fe94 authored by Bart Van Assche's avatar Bart Van Assche Committed by Tejun Heo

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: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent a2775bbc
...@@ -913,6 +913,7 @@ struct task_struct *wq_worker_sleeping(struct task_struct *task) ...@@ -913,6 +913,7 @@ struct task_struct *wq_worker_sleeping(struct task_struct *task)
/** /**
* wq_worker_last_func - retrieve worker's last work function * 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 * Determine the last function a worker executed. This is called from
* the scheduler to get a worker's last known identity. * the scheduler to get a worker's last known identity.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment