Re: [PATCH v2 1/3] vxlan: silence one build warning

From: Stephen Hemminger
Date: Mon Oct 28 2013 - 11:24:17 EST


On Mon, 28 Oct 2013 14:01:48 +0800
Zhi Yong Wu <zwu.kernel@xxxxxxxxx> wrote:

> From: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>
>
> drivers/net/vxlan.c: In function âvxlan_sock_addâ:
> drivers/net/vxlan.c:2298:11: warning: âsockâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> drivers/net/vxlan.c:2275:17: note: âsockâ was declared here
> LD drivers/net/built-in.o
>
> Signed-off-by: Zhi Yong Wu <wuzhy@xxxxxxxxxxxxxxxxxx>

This is much better.

Signed-off-by: Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/