Skip to content
Commit 6162dbe4 authored by Grant Likely's avatar Grant Likely
Browse files

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: default avatarGrant Likely <grant.likely@linaro.org>
parent 8a2b22a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment