summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-03-05 19:10:50 +0000
committerMark Brown <broonie@kernel.org>2025-03-05 19:10:50 +0000
commitc6141ba0110f98266106699aca071fed025c3d64 (patch)
tree5b2c335cbed607d85e2fa51c54e29a2e4b0eb24d /kernel/workqueue.c
parenta1462fb8b5dd1018e3477a6861822d75c6a59449 (diff)
parent927e6bec5cf3624665b0a2e9f64a1d32f3d22cdd (diff)
downloadlwn-c6141ba0110f98266106699aca071fed025c3d64.tar.gz
lwn-c6141ba0110f98266106699aca071fed025c3d64.zip
ASoC: Merge up fixes
Merge branch 'for-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-6.15 to avoid a bunch of add/add conflicts.
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 97152f2250fe..bfe030b443e2 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -2254,8 +2254,10 @@ static void __queue_work(int cpu, struct workqueue_struct *wq,
* queues a new work item to a wq after destroy_workqueue(wq).
*/
if (unlikely(wq->flags & (__WQ_DESTROYING | __WQ_DRAINING) &&
- WARN_ON_ONCE(!is_chained_work(wq))))
+ WARN_ONCE(!is_chained_work(wq), "workqueue: cannot queue %ps on wq %s\n",
+ work->func, wq->name))) {
return;
+ }
rcu_read_lock();
retry:
/* pwq which will be used unless @work is executing elsewhere */