From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759310AbbIDPAJ (ORCPT ); Fri, 4 Sep 2015 11:00:09 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:36849 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758700AbbIDPAH (ORCPT ); Fri, 4 Sep 2015 11:00:07 -0400 Date: Fri, 4 Sep 2015 17:00:02 +0200 From: Thomas Graf To: Geert Uytterhoeven Cc: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler warning Message-ID: <20150904150002.GA3113@pox.localdomain> References: <1441363772-20850-1-git-send-email-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1441363772-20850-1-git-send-email-geert@linux-m68k.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Thomas Graf