[U-Boot] [PATCH] arch/powerpc/lib/board.c: fix build warning
Mike Frysinger
vapier at gentoo.org
Fri Nov 4 22:13:28 CET 2011
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 <wd at denx.de>
> >>> ---
> >>> 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
More information about the U-Boot
mailing list