From: Mike Frysinger Date: Fri, 4 Nov 2011 17:13:28 -0400 Subject: [U-Boot] [PATCH] arch/powerpc/lib/board.c: fix build warning In-Reply-To: <2ADD198B-F2D8-4334-9748-E2BA73CFF263@kernel.crashing.org> References: <1318552994-6653-9-git-send-email-sjg@chromium.org> <036F32D7-5AFC-482D-AAA5-85A3F14E2D30@kernel.crashing.org> <2ADD198B-F2D8-4334-9748-E2BA73CFF263@kernel.crashing.org> Message-ID: <201111041713.29721.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 Friday 04 November 2011 02:47:04 Kumar Gala wrote: > On Nov 4, 2011, at 1:44 AM, Kumar Gala wrote: > > On Nov 3, 2011, at 2:09 PM, Wolfgang Denk wrote: > >> Wolfgang Denk wrote: > >>> Commit 1272592 "powerpc: Use getenv_ulong() in place of getenv(), > >>> strtoul" instroduced a build warning for some PPC systems: > >>> > >>> board.c: In function 'board_init_r': > >>> board.c:626: warning: unused variable 's' > >>> > >>> Fix it. > >>> > >>> Signed-off-by: Wolfgang Denk > >>> --- > >>> arch/powerpc/lib/board.c | 5 +++-- > >>> 1 files changed, 3 insertions(+), 2 deletions(-) > >> > >> Applied, thanks. > >> > >> Best regards, > >> > >> Wolfgang Denk > > > > I'm still seeing this warning when building MPC8536DS_config > > I think we need to revert this now. so post a revert of a9f4fc3fe571cc99260b063ad0ff291d31bafed0 > I don't see why you'd need it. Wolfgang's patch was written before Simon's, but they both ended up getting merged when we only needed one of them ... -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/20111104/867a2860/attachment.pgp