Re: [PATCH] of: fix iteration bug over CPU reg properties

2013-10-21 Thread Sudeep KarkadaNagesha
Hi Grant, On 04/10/13 17:40, Grant Likely wrote: > The size of each hwid in a cpu nodes 'reg' property is defined by the > parents #address-cells property in the normal way. The cpu parsing code > has a bug where it will overrun the end of the property if > address-cells is greater than one. This

[PATCH] of: fix iteration bug over CPU reg properties

2013-10-07 Thread Grant Likely
The size of each hwid in a cpu nodes 'reg' property is defined by the parents #address-cells property in the normal way. The cpu parsing code has a bug where it will overrun the end of the property if address-cells is greater than one. This commit fixes the problem by adjusting the array size by th