[U-Boot] [PATCH 12/13] board/esd/cpci750/cpci750.c: Fix error handling

Wolfgang Denk wd at denx.de
Wed Nov 16 21:05:48 CET 2011


Dear Wolfgang Denk,

In message <1320866946-28235-12-git-send-email-wd at denx.de> you wrote:
> ThE code recorded error conditions but did not pass these on to the
> higher level caller.  Fixing this fixes also this build warning:
> cpci750.c: In function 'do_loadpci':
> cpci750.c:569:6: warning: variable 'status' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Reinhard Arlt <reinhard.arlt at esd-electronics.com>
> ---
>  board/esd/cpci750/cpci750.c |    4 ++--
>  1 files changed, 2 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
Little known fact about Middle Earth:   The Hobbits had a very sophi-
sticated computer network!   It was a Tolkien Ring...


More information about the U-Boot mailing list