[U-Boot] [PATCH 17/56] mpc8xx/fec.c: Fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Mon Nov 7 22:12:03 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-18-git-send-email-wd at denx.de> you wrote:
> Fix:
> fec.c: In function 'fec_pin_init':
> fec.c:381:18: warning: variable 'fecp' set but not used
> [-Wunused-but-set-variable]
> fec.c: In function 'fec8xx_miiphy_write':
> fec.c:1013:8: warning: variable 'rdreg' set but not used
> [-Wunused-but-set-variable]
> 
> Note: The code was slightly rearranged, but no functional changes
> attempted, i. e. no conversion to use I/O accessors.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  arch/powerpc/cpu/mpc8xx/fec.c |   47 +++++++++++++++++++++-------------------
>  1 files changed, 25 insertions(+), 22 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
You've no idea of what a poor opinion  I  have  of  myself,  and  how
little I deserve it.                                  - W. S. Gilbert


More information about the U-Boot mailing list