lkml.org 
[lkml]   [2019]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] workqueue: fixup type in workqueue_init_early()
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

kernel/workqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -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));
\
 
 \ /
  Last update: 2019-12-19 18:45    [W:0.023 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site