Thread (1 message) 1 message, 1 author, 2008-02-12

Re: libfdt: Add and use a node iteration helper function.

From: Jon Loeliger <hidden>
Date: 2008-02-12 15:15:59

So, like, the other day David Gibson mumbled:
This patch adds an fdt_next_node() function which can be used to
iterate through nodes of the tree while keeping track of depth.  This
function is used to simplify the iteration code in a lot of other
functions, and is also exported for use by library users.

Signed-off-by: David Gibson <redacted>

---

I think we're ready to go with this one.  I'm still thinking about
suitable for_each_* macros, but in the mean time I'm happy with the
exported interface here, and it's a code-reducing patch.
Applied.

Thanks,
jdl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help