From: Mike Frysinger Date: Sun, 6 Nov 2011 13:06:36 -0500 Subject: [U-Boot] [PATCH] powerpc: Revert "arch/powerpc/lib/board.c: fix build warning" In-Reply-To: <20111105093338.A6D42189300E@gemini.denx.de> References: <1318552994-6653-9-git-send-email-sjg@chromium.org> <20111104163427.db13a668c89386e254098062@freescale.com> <20111105093338.A6D42189300E@gemini.denx.de> Message-ID: <201111061306.37421.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday 05 November 2011 05:33:38 Wolfgang Denk wrote: > Kim Phillips wrote: > > This reverts commit a9f4fc3fe571cc99260b063ad0ff291d31bafed0. > > > > commit aab773a47a8f7f40b9d7c4877853b00d22fb1347 already fixed the > > issue. > > > > --- a/arch/powerpc/lib/board.c > > +++ b/arch/powerpc/lib/board.c > > @@ -625,9 +625,7 @@ void board_init_r (gd_t *id, ulong dest_addr) > > > > { > > > > bd_t *bd; > > ulong malloc_start; > > > > -#if defined(CONFIG_SYS_FLASH_CHECKSUM) || defined(CONFIG_CMD_NET) > > - char *s; > > -#endif > > + > > Which tree / version is your patch based on? It does not apply to > master. We fixed this with commit commit ecfd752. have you pushed out your master in a while ? i see your tree sitting at fec79acc864bed049b6beae719ccbf2bbec5403a which still has this warning. i also don't see commit ecfd752 in your tree. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20111106/2b03b6fa/attachment.pgp