Re: [PATCH v5 5/5] lib/dlock-list: Make sibling CPUs share the same linked list

From: kbuild test robot
Date: Tue Aug 09 2016 - 14:45:29 EST


Hi Waiman,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.8-rc1 next-20160809]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Waiman-Long/vfs-Use-dlock-list-for-SB-s-s_inodes-list/20160810-012457
config: x86_64-randconfig-s2-08100126 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

lib/dlock-list.c: In function 'cpu2list_init':
>> lib/dlock-list.c:60: error: incompatible types when assigning to type 'cpumask_var_t' from type 'struct cpumask *'
lib/dlock-list.c:61: warning: the address of 'sibling_mask' will always evaluate as 'true'
lib/dlock-list.c:74: error: incompatible types when assigning to type 'cpumask_var_t' from type 'struct cpumask *'

vim +60 lib/dlock-list.c

54 cpumask_var_t sibling_mask;
55 static struct cpumask mask __initdata;
56
57 /*
58 * Check # of sibling CPUs for CPU 0
59 */
> 60 sibling_mask = topology_sibling_cpumask(0);
61 if (!sibling_mask)
62 goto done;
63 nr_siblings = cpumask_weight(sibling_mask);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data