Commit e9ad2eb3 authored by Stephen Zhang's avatar Stephen Zhang Committed by Tejun Heo

workqueue: Use %s instead of function name

It is better to replace the function name with %s, in case the function
name changes.
Signed-off-by: default avatarStephen Zhang <stephenzhangzsd@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 7bf9c4a8
......@@ -2964,8 +2964,8 @@ void drain_workqueue(struct workqueue_struct *wq)
if (++flush_cnt == 10 ||
(flush_cnt % 100 == 0 && flush_cnt <= 1000))
pr_warn("workqueue %s: drain_workqueue() isn't complete after %u tries\n",
wq->name, flush_cnt);
pr_warn("workqueue %s: %s() isn't complete after %u tries\n",
wq->name, __func__, flush_cnt);
mutex_unlock(&wq->mutex);
goto reflush;
......
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