]> 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:11:34 +0000 (15:11 +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 6f7cb619aa5e4dd9a771b81ac7a5abd1e2fab596..8f761417a9fa033f63a822184e549fc001261b95 100644 (file)
@@ -7109,7 +7109,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 ||