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

From: Stephen Rothwell
Date: Mon Nov 04 2019 - 21:07:33 EST


Hi all,

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

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c: In function 'esw_vport_ingress_config':
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:1356:2: warning: 'spec' may be used uninitialized in this function [-Wmaybe-uninitialized]
1356 | kvfree(spec);
| ^~~~~~~~~~~~

Introduced by commit

10652f39943e ("net/mlx5: Refactor ingress acl configuration")

--
Cheers,
Stephen Rothwell

Attachment: pgpl31w3gLwtJ.pgp
Description: OpenPGP digital signature