libfdt: Make fdt_string() return a const pointer

Jon Loeliger jdl at jdl.com
Tue Oct 23 02:37:43 EST 2007


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.

jdl



More information about the Linuxppc-dev mailing list