Re: [PATCH] [net-next] net/mlx5e: fix another maybe-uninitialized false-positive

2017-02-06 Thread David Miller
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.

Re: [PATCH] [net-next] net/mlx5e: fix another maybe-uninitialized false-positive

2017-02-05 Thread Or Gerlitz
On Fri, Feb 3, 2017 at 6:37 PM, Arnd Bergmann wrote: > 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:4

[PATCH] [net-next] net/mlx5e: fix another maybe-uninitialized false-positive

2017-02-03 Thread Arnd Bergmann
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