Re: [PATCH v6 2/2] x86/devicetree: Use CPU description from Device Tree

From: kbuild test robot
Date: Mon Mar 19 2018 - 18:30:50 EST


Hi Ivan,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on v4.16-rc4]
[also build test ERROR on next-20180319]
[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/Ivan-Gorinov/x86-devicetree-Enable-multiprocessing/20180316-052522
config: i386-randconfig-sb0-03200602 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

arch/x86/kernel/devicetree.c: In function 'x86_dtb_init':
>> arch/x86/kernel/devicetree.c:311:19: error: lvalue required as left operand of assignment
smp_found_config = 1;
^

vim +311 arch/x86/kernel/devicetree.c

303
304 void __init x86_dtb_init(void)
305 {
306 x86_flattree_get_config();
307
308 if (!of_have_populated_dt())
309 return;
310
> 311 smp_found_config = 1;

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

Attachment: .config.gz
Description: application/gzip