[U-Boot] [PATCH] drivers/net/e1000_spi.c: Fix build warnings

Wolfgang Denk wd at denx.de
Tue Dec 20 23:13:57 CET 2011


Dear Anatolij Gustschin,

In message <1324384143-10198-1-git-send-email-agust at denx.de> you wrote:
> Fix:
> e1000_spi.c: In function 'spi_free_slave':
> e1000_spi.c:115: warning: unused variable 'hw'
> e1000_spi.c: In function 'do_e1000_spi':
> e1000_spi.c:472: warning: 'checksum' may be used uninitialized in this function
> e1000_spi.c:472: note: 'checksum' was declared here
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Kyle Moffett <Kyle.D.Moffett at boeing.com>
> ---
>  drivers/net/e1000_spi.c |    5 +++--
>  1 files changed, 3 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
Compassion -- that's the one things no machine ever had.  Maybe it's
the one thing that keeps men ahead of them.
	-- McCoy, "The Ultimate Computer", stardate 4731.3


More information about the U-Boot mailing list