[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45E3FC4E.5080307@garzik.org>
Date: Tue, 27 Feb 2007 04:39:26 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
CC: "Amit S. Kale" <amitkale@...xen.com>, netdev@...r.kernel.org
Subject: Re: [PATCH] netxen: do_rom_fast_write error handling
Stephen Hemminger wrote:
> Compiler warning spots real error!
>
> The function do_rom_fast_read called in do_rom_fast_write can fail
> and leave data1 unset. This causes a compile warning.
> The correct thing is to propagate the error out.
>
> Signed-off-by: Stephen Hemminger <shemminger@...ux-foundation.org>
>
> ---
> drivers/net/netxen/netxen_nic_init.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
applied
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists