Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9dd2c31ab89a12571db89648bcc9992cf71b63d8
Commit:     9dd2c31ab89a12571db89648bcc9992cf71b63d8
Parent:     78438b36011d8ef7d28ef63a30b11801be1eea71
Author:     Scott Wood <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 12 14:41:48 2007 -0600
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Tue Mar 13 21:15:55 2007 +1100

    [POWERPC] bootwrapper: Modify *pp, not *p, in ft_shuffle().
    
    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.
    
    Signed-off-by: Scott Wood <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/boot/flatdevtree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/boot/flatdevtree.c b/arch/powerpc/boot/flatdevtree.c
index 0fa4f98..f2a29ca 100644
--- a/arch/powerpc/boot/flatdevtree.c
+++ b/arch/powerpc/boot/flatdevtree.c
@@ -246,7 +246,7 @@ static int ft_shuffle(struct ft_cxt *cxt, char **pp, enum 
ft_rgn_id rgn,
                        if (rgn == FT_STRUCT)
                                ft_node_update_before(cxt, p, -nextra);
                }
-               *p -= nextra;
+               *pp -= nextra;
                cxt->rgn[rgn].start -= nextra;
                cxt->rgn[rgn].size += nextra;
                return 1;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to