[PATCH 4/5] fdtput: Adjust report_error() to use name, namelen params

David Gibson david at gibson.dropbear.id.au
Thu Jul 12 22:40:08 EST 2012


On Tue, Jul 10, 2012 at 05:56:47AM -0700, Simon Glass wrote:
> As with many fdt functions, report_error() should permit a namelen to
> be specified, thus obviating the need for nul termination in strings
> passed to it.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Fair enough.

Acked-by: David Gibson <david at gibson.dropbear.id.au>

-- 
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 devicetree-discuss mailing list