Re: [PATCH 2/3] OF: Add a allnodes pointer back to the tree

From: Grant Likely
Date: Thu Dec 12 2013 - 06:21:02 EST


On Tue, 10 Dec 2013 16:13:52 +0200, Pantelis Antoniou <panto@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> As it stands right now there's no way for a node to point back
> to allnodes that the top level tree tracker for now.
>
> This is problematic when using unflatten_dt_node more than once
> because is leads to the nodes to be linked incorrectly.
>
> Keep track of the root allnodes on each device_node and modify
> unflaten_dt_node to match.

After our conversation on IRC and the decision to split unflattening the
tree from attaching it to be visible to the entire kernel, I'm going to
hold off on this patch. I suspect it will change in the process.

g.

--
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/