Re: [PATCH] of/fdt: Don't copy garbage after "/" in root node path

2012-11-10 Thread Rob Herring
On 10/21/2012 07:32 PM, Benjamin Herrenschmidt wrote: > The root node path must be internally converted to "/", or various > pieces of code looking for it that way will fail. The code to do > that however had a bug where we might incorrectly append pieces > of the original path from the fdt to the

[PATCH] of/fdt: Don't copy garbage after "/" in root node path

2012-10-21 Thread Benjamin Herrenschmidt
The root node path must be internally converted to "/", or various pieces of code looking for it that way will fail. The code to do that however had a bug where we might incorrectly append pieces of the original path from the fdt to the "/". We should probably add a proper dedicated accessor for t