]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
workqueue: Shorten events_freezable_power_efficient name
authorAudra Mitchell <audra@redhat.com>
Thu, 25 Jan 2024 19:05:32 +0000 (14:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:32:31 +0000 (15:32 +0200)
commit 8318d6a6362f5903edb4c904a8dd447e59be4ad1 upstream.

Since we have set the WQ_NAME_LEN to 32, decrease the name of
events_freezable_power_efficient so that it does not trip the name length
warning when the workqueue is created.

Signed-off-by: Audra Mitchell <audra@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/workqueue.c

index ed8ebc977601665eea633514f098124f2985bb83..781900b148b67e48a74c7b20e40d1a0ae9ed81bc 100644 (file)
@@ -7186,7 +7186,7 @@ void __init workqueue_init_early(void)
                                              WQ_FREEZABLE, 0);
        system_power_efficient_wq = alloc_workqueue("events_power_efficient",
                                              WQ_POWER_EFFICIENT, 0);
-       system_freezable_power_efficient_wq = alloc_workqueue("events_freezable_power_efficient",
+       system_freezable_power_efficient_wq = alloc_workqueue("events_freezable_pwr_efficient",
                                              WQ_FREEZABLE | WQ_POWER_EFFICIENT,
                                              0);
        BUG_ON(!system_wq || !system_highpri_wq || !system_long_wq ||