[U-Boot] [PATCH] arch/powerpc/lib/board.c: fix build warning

Kumar Gala galak at kernel.crashing.org
Fri Nov 4 07:47:04 CET 2011


On Nov 4, 2011, at 1:44 AM, Kumar Gala wrote:

> 
> On Nov 3, 2011, at 2:09 PM, Wolfgang Denk wrote:
> 
>> Dear Wolfgang Denk,
>> 
>> In message <1319407132-6590-1-git-send-email-wd at denx.de> you 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
> 
> - k
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

I think we need to revert this now.

I don't see why you'd need it.

- k


More information about the U-Boot mailing list