2.6.28-mmotm1230 kernel/workqueue.c compiler warning message
In mmotm1230, there was an apparent mismerge that left a spare '&' on a variable, causing this compiler warning:
kernel/workqueue.c: In function 'wq_cpu_map':kernel/workqueue.c:94: warning: pointer type mismatch in conditional expression
so let's fix that up.
Signed-off-by Valdis Kletnieks <[email protected]>
kernel/workqueue.c renamed from kernel/workqueue.c.dist +1 -1
@@ -91,7 +91,7 @@ static inline int is_wq_single_threaded(static const struct cpumask *wq_cpu_map (struct workqueue_struct *wq) {return is_wq_single_threaded (wq) - ?get_cpu_mask (singlethread_cpu) : &cpu_populated_map; + ?get_cpu_mask (singlethread_cpu) : cpu_populated_map; } static