summaryrefslogtreecommitdiffstats
path: root/net/dsa/slave.c
diff options
context:
space:
mode:
authorArnd Bergmann2017-02-03 17:37:03 +0100
committerDavid S. Miller2017-02-06 22:35:12 +0100
commit321fa4ffd94e333657e54037d2511c862ec92f6f (patch)
treef92da6f4bff94602cadfe8d57d53fd7950c420dd /net/dsa/slave.c
parentnet-next: treewide use is_vlan_dev() helper function. (diff)
downloadkernel-qcow2-linux-321fa4ffd94e333657e54037d2511c862ec92f6f.tar.gz
kernel-qcow2-linux-321fa4ffd94e333657e54037d2511c862ec92f6f.tar.xz
kernel-qcow2-linux-321fa4ffd94e333657e54037d2511c862ec92f6f.zip
net/mlx5e: fix another maybe-uninitialized false-positive
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@arndb.de> Acked-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions