diff options
| author | Mark Brown <broonie@kernel.org> | 2025-03-18 12:27:00 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-03-18 12:27:00 +0000 |
| commit | 30514f2576e5fceafdce8060f0f4f2dadc956b6c (patch) | |
| tree | 4b30f4b10c64b8d25980caa2f0798a60c9106d9f /kernel/workqueue.c | |
| parent | ea327171a3b128a577fae6465e546c0038913fdc (diff) | |
| parent | 4701f33a10702d5fc577c32434eb62adde0a1ae1 (diff) | |
spi: Merge up fixes
They are a dependency for applying some changes to the MAINTAINERS
file.
Diffstat (limited to 'kernel/workqueue.c')
| -rw-r--r-- | kernel/workqueue.c | 4 |
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 */ |
