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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;