[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130122.232259.1146207542642611215.davem@davemloft.net>
Date: Tue, 22 Jan 2013 23:22:59 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: amwang@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: [Patch net-next] netpoll: fix an uninitialized variable
From: Cong Wang <amwang@...hat.com>
Date: Wed, 23 Jan 2013 11:39:11 +0800
> From: Cong Wang <amwang@...hat.com>
>
> Fengguang reported:
>
> net/core/netpoll.c: In function 'netpoll_setup':
> net/core/netpoll.c:1049:6: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
>
> in !CONFIG_IPV6 case, we may error out without initializing
> 'err'.
>
> Reported-by: Fengguang Wu <fengguang.wu@...el.com>
> Cc: David S. Miller <davem@...emloft.net>
> Signed-off-by: Cong Wang <amwang@...hat.com>
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