commit | 6162dbe49a451f96431a23b4821f05e3bd925bc1 | [log] [tgz] |
---|---|---|
author | Grant Likely <grant.likely@linaro.org> | Wed Jul 16 08:48:46 2014 -0600 |
committer | Grant Likely <grant.likely@linaro.org> | Wed Jul 23 17:05:45 2014 -0600 |
tree | 946033c87a34a385903784f401d3fc5eae67a77c | |
parent | 8a2b22a2595bf89d4396530edf8388159fad9d83 [diff] |
of: Make sure attached nodes don't carry along extra children The child pointer does not get cleared when attaching new nodes which could cause the tree to be inconsistent. Clear the child pointer in __of_attach_node() to be absolutely sure that the structure remains in a consistent layout. Signed-off-by: Grant Likely <grant.likely@linaro.org>