[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130913125814.GA1420@minipsycho.brq.redhat.com>
Date: Fri, 13 Sep 2013 14:58:14 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Prarit Bhargava <prarit@...hat.com>
Cc: netdev@...r.kernel.org, jpirko@...hat.com, tgraf@...hat.com,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] net, vxlan Fix compile warning
Fri, Sep 13, 2013 at 02:29:12PM CEST, prarit@...hat.com wrote:
>Fix a unintialized variable warning.
>
>drivers/net/vxlan.c: In function ‘vxlan_sock_add’:
>drivers/net/vxlan.c:2240:11: error: ‘sock’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
> vs->sock = sock;
> ^
>drivers/net/vxlan.c:2217:17: note: ‘sock’ was declared here
> struct socket *sock;
> ^
>
>Signed-off-by: Prarit Bhargava <prarit@...hat.com>
>Cc: jpirko@...hat.com
>Cc: tgraf@...hat.com
>Cc: "David S. Miller" <davem@...emloft.net>
Reviewed-by: Jiri Pirko <jiri@...nulli.us>
--
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