[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170206.163531.1565126009397840765.davem@davemloft.net>
Date: Mon, 06 Feb 2017 16:35:31 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: saeedm@...lanox.com, matanb@...lanox.com, leonro@...lanox.com,
ogerlitz@...lanox.com, hadarh@...lanox.com, roid@...lanox.com,
amirva@...lanox.com, maorg@...lanox.com, markb@...lanox.com,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [net-next] net/mlx5e: fix another maybe-uninitialized
false-positive
From: Arnd Bergmann <arnd@...db.de>
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 <arnd@...db.de>
Applied.
Powered by blists - more mailing lists