Re: [PATCH v6 4/6] lib/dlock-list: Make sibling CPUs share the same linked list

From: Davidlohr Bueso
Date: Thu Oct 05 2017 - 13:40:24 EST


This is still spitting:

lib/dlock-list.c: In function â??cpu2idx_initâ??:
lib/dlock-list.c:75:16: error: incompatible types when assigning to type â??cpumask_var_tâ?? from type â??struct cpumask *â??
sibling_mask = topology_sibling_cpumask(cpu);
^
lib/dlock-list.c:76:7: warning: the address of â??sibling_maskâ?? will always evaluate as â??trueâ?? [-Waddress]
if (sibling_mask) {
^