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

Kumar Gala galak at kernel.crashing.org
Fri Nov 4 07:44:28 CET 2011


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


More information about the U-Boot mailing list