[U-Boot] [PATCH 04/19] 4xx_pcie.c: Fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Wed Nov 16 21:14:42 CET 2011


Dear Stefan Roese,

In message <1321380124-6304-1-git-send-email-sr at denx.de> you wrote:
> Fix:
> 4xx_pcie.c: In function 'pcie_read_config':
> 4xx_pcie.c:230:6: warning: variable 'address' set but not used [-Wunused-but-set-variable]
> 4xx_pcie.c: In function 'pcie_write_config':
> 4xx_pcie.c:290:6: warning: variable 'address' set but not used [-Wunused-but-set-variable]
> 4xx_pcie.c: In function 'ppc4xx_setup_pcie_rootpoint':
> 4xx_pcie.c:1066:17: warning: variable 'rmbase' set but not used [-Wunused-but-set-variable]
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  arch/powerpc/cpu/ppc4xx/4xx_pcie.c |   11 ++---------
>  1 files changed, 2 insertions(+), 9 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Beware of programmers carrying screwdrivers."      - Chip Salzenberg


More information about the U-Boot mailing list