diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-04-24 18:43:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-25 01:41:51 +0300 |
commit | 4780dbdbd957c204b62680161f39bb0bc4daf3a0 (patch) | |
tree | 6837e200de06d59c71129382677e0d590cc24ef6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4c00dafc59c7cc25a381abf7671b203a2fcfca71 (diff) | |
download | linux-4780dbdbd957c204b62680161f39bb0bc4daf3a0.tar.xz |
mlxsw: spectrum_span: Replace zero-length array with flexible-array member
In a similar fashion to commit e99f8e7f88b5 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions