From: David Gibson Subject: [0/2] libfdt: Cleanups to iteration functions Date: Tue, 11 Nov 2008 23:18:04 +1100 Message-ID: <20081111121804.GH26376@yookeroo.seuss> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: Jon Loeliger Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org List-Id: devicetree@vger.kernel.org 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