[U-Boot] [PATCH] 4xx_pci.c: add error checking, fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Thu Nov 3 20:40:46 CET 2011


Dear Wolfgang Denk,

In message <1319917111-14323-1-git-send-email-wd at denx.de> you wrote:
> Fix:
> 4xx_pci.c: In function 'pci_init_board':
> 4xx_pci.c:855:6: warning: variable 'busno' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> ---
>  arch/powerpc/cpu/ppc4xx/4xx_pci.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 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
The computer can't tell you the emotional story. It can give you  the
exact mathematical design, but what's missing is the eyebrows.
- Frank Zappa


More information about the U-Boot mailing list