Thread (4 messages) flat view 4 messages, 2 authors, 2018-03-05

Re: [PATCH v2 1/2] of: unittest: clean up changeset test

From: Rob Herring <robh@kernel.org>
Date: 2018-03-05 21:39:15
Also in: lkml

On Mon, Feb 26, 2018 at 02:01:22PM -0800, frowand.list@gmail.com wrote:
From: Frank Rowand <redacted>

In preparation for fixing __of_node_dup(), clean up the unittest
function that calls it.

Devicetree nodes created from a flattened device tree have a name
property.  Follow this convention for nodes added by a changeset.
I'd like to get rid of that property as it should be redundant, but 
that's somewhat orthogonal to this.

It also shouldn't be up to the caller to have to do this either, but 
that's already broken in the current API.

So I've applied these.
For node added by changeset, remove incorrect initialization of
child node pointer.

Add an additional node pointer 'changeset' to more naturally reflect
where in the tree the changeset is added.

Make changeset add property error messages unique.

Add whitespace to break apart logic blocks.

Signed-off-by: Frank Rowand <redacted>
---
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help