Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-14 Thread Frank Rowand
On 6/14/2014 8:39 PM, Frank Rowand wrote: > From: Frank Rowand > > of_find_node_by_path() is borked because of_allnodes is not guaranteed to > contain the root of the tree after using any of the dynamic update functions > because some other nodes ends up as of_allnodes. > > Fixes: c22e650e66b8 o

Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-14 Thread Frank Rowand
From: Frank Rowand of_find_node_by_path() is borked because of_allnodes is not guaranteed to contain the root of the tree after using any of the dynamic update functions because some other nodes ends up as of_allnodes. Fixes: c22e650e66b8 of: Make of_find_node_by_path() handle /aliases Reported-

Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-14 Thread Frank Rowand
On 6/14/2014 8:00 AM, Grant Likely wrote: > On Fri, Jun 13, 2014 at 4:06 PM, Grant Likely wrote: >> On Fri, Jun 13, 2014 at 2:52 PM, Rob Herring wrote: >>> On Fri, Jun 13, 2014 at 12:53 AM, Frank Rowand >>> wrote: From: Frank Rowand Pantelis Antoniou reports that of_find_node_by

Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-14 Thread Grant Likely
On Fri, Jun 13, 2014 at 4:06 PM, Grant Likely wrote: > On Fri, Jun 13, 2014 at 2:52 PM, Rob Herring wrote: >> On Fri, Jun 13, 2014 at 12:53 AM, Frank Rowand >> wrote: >>> From: Frank Rowand >>> >>> Pantelis Antoniou reports that of_find_node_by_path() is borked because >>> of_allnodes is not g

Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-13 Thread Rob Herring
On Fri, Jun 13, 2014 at 11:49 AM, Frank Rowand wrote: > On 6/13/2014 6:52 AM, Rob Herring wrote: >> On Fri, Jun 13, 2014 at 12:53 AM, Frank Rowand >> wrote: >>> From: Frank Rowand >>> >>> Pantelis Antoniou reports that of_find_node_by_path() is borked because >>> of_allnodes is not guaranteed t

Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-13 Thread Frank Rowand
On 6/13/2014 6:52 AM, Rob Herring wrote: > On Fri, Jun 13, 2014 at 12:53 AM, Frank Rowand wrote: >> From: Frank Rowand >> >> Pantelis Antoniou reports that of_find_node_by_path() is borked because >> of_allnodes is not guaranteed to contain the root of the tree after using >> any of the dynamic u

Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-13 Thread Grant Likely
On Fri, Jun 13, 2014 at 2:52 PM, Rob Herring wrote: > On Fri, Jun 13, 2014 at 12:53 AM, Frank Rowand wrote: >> From: Frank Rowand >> >> Pantelis Antoniou reports that of_find_node_by_path() is borked because >> of_allnodes is not guaranteed to contain the root of the tree after using >> any of t

Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-13 Thread Rob Herring
On Fri, Jun 13, 2014 at 12:53 AM, Frank Rowand wrote: > From: Frank Rowand > > Pantelis Antoniou reports that of_find_node_by_path() is borked because > of_allnodes is not guaranteed to contain the root of the tree after using > any of the dynamic update functions because some other nodes ends up

Re: [RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-13 Thread Pantelis Antoniou
Hi Frank, On Jun 13, 2014, at 8:53 AM, Frank Rowand wrote: > From: Frank Rowand > > Pantelis Antoniou reports that of_find_node_by_path() is borked because > of_allnodes is not guaranteed to contain the root of the tree after using > any of the dynamic update functions because some other nodes

[RFC PATCH] OF: fix of_find_node_by_path() assumption that of_allnodes is root

2014-06-12 Thread Frank Rowand
From: Frank Rowand Pantelis Antoniou reports that of_find_node_by_path() is borked because of_allnodes is not guaranteed to contain the root of the tree after using any of the dynamic update functions because some other nodes ends up as of_allnodes. Fixes: c22e650e66b8 of: Make of_find_node_by_p