mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08: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 ||
|
if (++flush_cnt == 10 ||
|
||||||
(flush_cnt % 100 == 0 && flush_cnt <= 1000))
|
(flush_cnt % 100 == 0 && flush_cnt <= 1000))
|
||||||
pr_warn("workqueue %s: drain_workqueue() isn't complete after %u tries\n",
|
pr_warn("workqueue %s: %s() isn't complete after %u tries\n",
|
||||||
wq->name, flush_cnt);
|
wq->name, __func__, flush_cnt);
|
||||||
|
|
||||||
mutex_unlock(&wq->mutex);
|
mutex_unlock(&wq->mutex);
|
||||||
goto reflush;
|
goto reflush;
|
||||||
|
Loading…
Reference in New Issue
Block a user