mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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: Stephen Zhang <stephenzhangzsd@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
7bf9c4a88e
commit
e9ad2eb3d9
@ -2964,8 +2964,8 @@ reflush:
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user