Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler warning
From: Thomas Graf
Date: Fri Sep 04 2015 - 11:00:11 EST
On 09/04/15 at 12:49pm, 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>
Acked-by: Thomas Graf <tgraf@xxxxxxx>
--
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/