Devicetree
 help / color / mirror / Atom feed
* [0/2] libfdt: Cleanups to iteration functions
@ 2008-11-11 12:18 David Gibson
       [not found] ` <20081111121804.GH26376-787xzQ0H9iRg7VrjXcPTGA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: David Gibson @ 2008-11-11 12:18 UTC (permalink / raw)
  To: Jon Loeliger; +Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A

These two patches make some cleanups to the fdt_next_node() and
fdt_next_tag() functions that I've been meaning to do for a while.

These patches do introduce minor semantic changes, and those are
exported functions.  I think they're still reasonable changes, because
the behavioural changes are in corner cases which previously had
somewhat fuzzily defined semantics anyway.  I would be very doubtful
that anyway was relying on the altered behaviour; if I'm wrong about
that these patches could need some rethinking.

These cleanups make it easier to implement property iteration, which I
have a draft patch for in the works.  I'm not posting that with this
series, because I'm having second thoughts about the details of the
interface, and I need to write some testcases.  I'll try to post that
as an RFC / work-in-progress shortly.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-11 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 12:18 [0/2] libfdt: Cleanups to iteration functions David Gibson
     [not found] ` <20081111121804.GH26376-787xzQ0H9iRg7VrjXcPTGA@public.gmane.org>
2008-11-11 12:19   ` [1/2] libfdt: Rework fdt_next_node() David Gibson
     [not found]     ` <20081111121936.GI26376-787xzQ0H9iRg7VrjXcPTGA@public.gmane.org>
2008-11-11 12:21       ` [2/2] libfdt: Rework/cleanup fdt_next_tag() David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox