Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler warning
From: Jiri Benc
Date: Fri Sep 04 2015 - 09:08:28 EST
On Fri, 4 Sep 2015 12:49:32 +0200, Geert Uytterhoeven wrote:
> drivers/net/vxlan.c: In function âvxlan_udp_encap_recvâ:
> drivers/net/vxlan.c:1226: warning: âinfoâ may be used uninitialized in this function
>
> While this warning is a false positive, it can be killed easily by
> getting rid of the pointer intermediary and referring directly to the
> ip_tunnel_info structure.
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Reviewed-by: Jiri Benc <jbenc@xxxxxxxxxx>
--
Jiri Benc
--
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/