Re: [PATCH] drivers/of: Fix build warning in populate_node()

2016-05-16 Thread Rob Herring
On Fri, May 13, 2016 at 09:31:39PM +1000, Gavin Shan wrote: > Function populate_node() is used to unflatten FDT blob to device > tree. It supports maximal 64 level of device nodes. There is one > array @fpsizes[64] tracking the full name length of last unflattened > device node in the corresponding

[PATCH] drivers/of: Fix build warning in populate_node()

2016-05-13 Thread Gavin Shan
Function populate_node() is used to unflatten FDT blob to device tree. It supports maximal 64 level of device nodes. There is one array @fpsizes[64] tracking the full name length of last unflattened device node in the corresponding level (index of element in the array - 1). Build warning is seen wi