Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1219105

Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler warning

From Thomas Graf <tgraf@suug.ch>
Newsgroups linux.kernel
Subject Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler warning
Date 2015-09-04 17:10 +0200
Message-ID <q50MO-5FD-23@gated-at.bofh.it> (permalink)
References <q4WJb-86i-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@linux-m68k.org>

Acked-by: Thomas Graf <tgraf@suug.ch>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler warning Geert Uytterhoeven <geert@linux-m68k.org> - 2015-09-04 12:50 +0200
  Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler  warning Jiri Benc <jbenc@redhat.com> - 2015-09-04 15:10 +0200
  Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler  warning Thomas Graf <tgraf@suug.ch> - 2015-09-04 17:10 +0200
  Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill  compiler warning David Miller <davem@davemloft.net> - 2015-09-07 04:50 +0200

csiph-web