[PATCH 08/18] bootwrapper: Modify *pp, not *p, in ft_shuffle().

Segher Boessenkool segher at kernel.crashing.org
Wed Jan 31 06:49:41 EST 2007


> Move the caller's pointer back to match the change in the region's  
> start,
> rather than alter a byte of the device tree's content.

Maybe you could change the variable names too, so it
would be harder to make such obvious coding mistakes?

> -		*p -= nextra;
> +		*pp -= nextra;


Segher




More information about the Linuxppc-dev mailing list