[PATCH 03/20] bootwrapper: dt_xlate_range() bugfixes

David Gibson david at gibson.dropbear.id.au
Tue Aug 21 12:01:31 EST 2007


On Mon, Aug 20, 2007 at 12:39:46PM -0500, Scott Wood wrote:
> 1. The check whether ranges fits in the buffer was using elements rather
> than bytes.
> 2. Empty ranges were not properly treated as transparent, and missing
> ranges were treated as transparent.
> 3. The loop terminated when translating from the root rather than to.  Once
> bug #2 was fixed, it failed due to a missing ranges in the root node.
> 4. In decoding the ranges property, the #size-cells used was that of
> the parent, not the child.

> Signed-off-by: Scott Wood <scottwood at freescale.com>

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 Linuxppc-dev mailing list