libfdt: Make fdt_string() return a const pointer

David Gibson david at gibson.dropbear.id.au
Tue Oct 23 13:21:26 EST 2007


On Mon, Oct 22, 2007 at 11:37:43AM -0500, Jon Loeliger wrote:
> So, like, the other day David Gibson mumbled:
> > Currently, fdt_string() returns a (non-const) char *, despite taking a
> > const void *fdt.  This is inconsistent with all the other read-only
> > functions which all return const pointers into the blob.
> > 
> > This patch fixes that.
> > 
> > Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
> 
> Applied.

But apparently not pushed out to the public tree...

-- 
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



More information about the Linuxppc-dev mailing list