diff options
| author | Breno Leitao <leitao@debian.org> | 2026-03-05 08:15:37 -0800 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-05 07:26:50 -1000 |
| commit | f42f9091be9e5ff57567a3945cfcdd498f475348 (patch) | |
| tree | 03c8230921fe98d1c5c3f3fc6f2ce8e50612c716 /Documentation/virtual/git@git.tavy.me:linux.git | |
| parent | c107785c7e8dbabd1c18301a1c362544b5786282 (diff) | |
workqueue: Use POOL_BH instead of WQ_BH when checking pool flags
pr_cont_worker_id() checks pool->flags against WQ_BH, which is a
workqueue-level flag (defined in workqueue.h). Pool flags use a
separate namespace with POOL_* constants (defined in workqueue.c).
The correct constant is POOL_BH. Both WQ_BH and POOL_BH are defined
as (1 << 0) so this has no behavioral impact, but it is semantically
wrong and inconsistent with every other pool-level BH check in the
file.
Fixes: 4cb1ef64609f ("workqueue: Implement BH workqueues to eventually replace tasklets")
Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'Documentation/virtual/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
