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

Heiko Schocher hs at denx.de
Mon Oct 24 08:53:39 CEST 2011


Hello Simon, Wolfgang,

Simon Glass wrote:
> Hi Wolfgang,
> 
> On Sun, Oct 23, 2011 at 2:58 PM, Wolfgang Denk <wd at denx.de> 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>
> 
> I sent an alternative to this but they are roughly equivalent so:
> 
> Acked-by: Simon Glass <sjg at chromium.org>

Same on arm, posted for this a patch.

Acked-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list