[U-Boot] [PATCH] net: e1000: fix gcc 4.6 compiler warnings

Wolfgang Denk wd at denx.de
Thu Nov 17 10:04:11 CET 2011


Dear Kim Phillips,

In message <1321480020-32662-1-git-send-email-kim.phillips at freescale.com> you wrote:
> Configuring for caddy2 - Board: vme8349, Options: CADDY2
> e1000.c: In function 'e1000_reset_hw':
> e1000.c:1373:11: warning: variable 'icr' set but not used [-Wunused-but-set-variable]
> e1000.c: In function 'e1000_phy_init_script':
> e1000.c:4395:11: warning: variable 'ret_val' set but not used [-Wunused-but-set-variable]
> 
> Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
> ---
>  drivers/net/e1000.c |    6 ++----
>  1 files changed, 2 insertions(+), 4 deletions(-)

Thanks, but this has already been fixed by Roy Zang's patch:
11/07 Roy Zang           [PATCH] e1000: fix unused variable waring for e1000 driver
Gmane: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/115716
Patchwork: 124011 Accepted     [U-Boot] e1000: fix unused variable waring for e1000 driver



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
Too many people are ready to carry the stool when the piano needs  to
be moved.


More information about the U-Boot mailing list