Skip to contentSkip to conversation

workqueue.c: Shorten events_freezable_power_efficient name

PATCH Applied Audra Mitchell 2 participants 2 messages Jan 25, 2024 Workqueue

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 workqueue.c: Shorten events_freezable_power_efficient name

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.

---
 kernel/workqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/workqueue.c +1 -1
index 76e60faed892..9b5890c51853 100644
@@ -6691,7 +6691,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 ||
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 5 lines · Audra Mitchell

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.

Applied to wq/for-6.9.

Thanks.

Signature · 1 line
tejun