linux-next: build warning after merge of the net tree

From: Stephen Rothwell
Date: Wed Dec 04 2019 - 16:44:54 EST


Hi all,

After merging the net tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c: In function 'mlx5e_tc_tun_create_header_ipv6':
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c:332:20: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
332 | struct neighbour *n;
| ^

Introduced by commit

6c8991f41546 ("net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup")

It looks like a false positive.

--
Cheers,
Stephen Rothwell

Attachment: pgp2nR_afRUy6.pgp
Description: OpenPGP digital signature