linux-next: build warning after merge of the mlx5-next tree
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")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the mlx5-next tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
Quoted 8 lines
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")
Thanks Stephen.
Quoted 4 lines
--
Cheers,
Stephen Rothwell