Skip to contentSkip to conversation

workqueue: fixup type in workqueue_init_early()

PATCH New Alexey Dobriyan 1 participant 1 message Dec 19, 2019 Workqueue

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 workqueue: fixup type in workqueue_init_early()

---

 kernel/workqueue.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/workqueue.c +1 -1
@@ -5899,7 +5899,7 @@ static void __init wq_numa_init(void)
 int __init workqueue_init_early(void)
 {
 	int std_nice[NR_STD_WORKER_POOLS] = { 0, HIGHPRI_NICE_LEVEL };
-	int hk_flags = HK_FLAG_DOMAIN | HK_FLAG_WQ;
+	enum hk_flags hk_flags = HK_FLAG_DOMAIN | HK_FLAG_WQ;
 	int i, cpu;
 
 	WARN_ON(__alignof__(struct pool_workqueue) < __alignof__(long long));