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

From: Vineet Gupta
Date: Thu Oct 01 2015 - 08:20:34 EST


On Thursday 01 October 2015 05:28 PM, kbuild test robot wrote:
> 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


This is really awesome, Thx for the report. Corrected patch v2 posted.

Thx,
-Vineet
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/