Re: [PATCH] of/fdt: Allow memory node and root to have different size/address cells

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Vineet,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

config: i386-randconfig-i1-201539 (attached as .config)
reproduce:
        git checkout 84881842f801639b80c8f6a0d9afbc582b33be01
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   drivers/of/fdt.c: In function 'early_init_dt_scan_memory':
>> drivers/of/fdt.c:916:41: error: expected expression before ';' token
     dt_mem_size_cells = dt_root_size_cells,;
                                            ^

vim +916 drivers/of/fdt.c

   910	
   911		endp = reg + (l / sizeof(__be32));
   912	
   913		pr_debug("memory scan node %s, reg size %d,\n", uname, l);
   914	
   915	
 > 916		dt_mem_size_cells = dt_root_size_cells,;
   917		prop = of_get_flat_dt_prop(node, "#size-cells", NULL);
   918		if (prop)
   919			dt_mem_size_cells = be32_to_cpup(prop);

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux