linux/drivers/net/ethernet/mellanox
Ido Schimmel 4780dbdbd9 mlxsw: spectrum_span: Replace zero-length array with flexible-array member
In a similar fashion to commit e99f8e7f88 ("mlxsw: Replace zero-length
array with flexible-array member"), use a flexible-array member to get a
compiler warning in case the flexible array does not occur last in the
structure.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-24 15:41:51 -07:00
..
mlx4 net/mlx4_en: use napi_complete_done() in TX completion 2020-04-23 12:43:20 -07:00
mlx5/core net/mlx5: improve some comments 2020-04-20 14:20:21 -07:00
mlxfw net: mlxfw: Replace zero-length array with flexible-array member 2020-03-03 17:39:19 -08:00
mlxsw mlxsw: spectrum_span: Replace zero-length array with flexible-array member 2020-04-24 15:41:51 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00