From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbdBFVfh (ORCPT ); Mon, 6 Feb 2017 16:35:37 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:49224 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbdBFVff (ORCPT ); Mon, 6 Feb 2017 16:35:35 -0500 Date: Mon, 06 Feb 2017 16:35:31 -0500 (EST) Message-Id: <20170206.163531.1565126009397840765.davem@davemloft.net> To: arnd@arndb.de Cc: saeedm@mellanox.com, matanb@mellanox.com, leonro@mellanox.com, ogerlitz@mellanox.com, hadarh@mellanox.com, roid@mellanox.com, amirva@mellanox.com, maorg@mellanox.com, markb@mellanox.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [net-next] net/mlx5e: fix another maybe-uninitialized false-positive From: David Miller In-Reply-To: <20170203163716.3501713-1-arnd@arndb.de> References: <20170203163716.3501713-1-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 06 Feb 2017 12:36:35 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Fri, 3 Feb 2017 17:37:03 +0100 > In commit abeffce ("net/mlx5e: Fix a -Wmaybe-uninitialized warning"), I fixed a > gcc warning for the ipv4 offload handling. Now we get the same warning for the > added ipv6 support: > > drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:815:40: warning: 'out_dev' may be used uninitialized in this function [-Wmaybe-uninitialized] > > We can apply the same workaround here as well. > > Fixes: ce99f6b97fcd ("net/mlx5e: Support SRIOV TC encapsulation offloads for IPv6 tunnels") > Signed-off-by: Arnd Bergmann Applied.