From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-11.arcor-online.net (mail-in-11.arcor-online.net [151.189.21.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 0AE3EDDFAA for ; Wed, 31 Jan 2007 06:49:50 +1100 (EST) In-Reply-To: <20070129201204.GH13485@ld0162-tx32.am.freescale.net> References: <20070129201204.GH13485@ld0162-tx32.am.freescale.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4632EC74-4803-4D71-A4EF-538FBCFAA06F@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH 08/18] bootwrapper: Modify *pp, not *p, in ft_shuffle(). Date: Tue, 30 Jan 2007 20:49:41 +0100 To: Scott Wood Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > 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