[U-Boot] [PATCH 06/22] drivers/net/rtl8139.c: Fix GCC 4.6 build warnings
Wolfgang Denk
wd at denx.de
Mon Nov 7 22:47:50 CET 2011
Dear Wolfgang Denk,
In message <1320505999-9770-7-git-send-email-wd at denx.de> you wrote:
> Fix:
> rtl8139.c: In function 'rtl8139_probe':
> rtl8139.c:256:15: warning: variable 'fullduplex' set but not used
> [-Wunused-but-set-variable]
> rtl8139.c:256:6: warning: variable 'speed10' set but not used
> [-Wunused-but-set-variable]
> rtl8139.c: In function 'rtl_transmit':
> rtl8139.c:419:16: warning: variable 'txstatus' set but not used
> [-Wunused-but-set-variable]
>
> Change code to use new debug macros; also fix the new errors and
> warnigns popping up now, like "error: 'to' undeclared" and some
> "warning: format '%X' expects argument of type 'unsigned int', but
> argument X has type 'long unsigned int'"
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
> drivers/net/rtl8139.c | 49 +++++++++++++++++++------------------------------
> 1 files changed, 19 insertions(+), 30 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
Nail here --X-- for new monitor.
More information about the U-Boot
mailing list