diff options
author | Jiri Pirko <jiri@mellanox.com> | 2018-01-10 11:42:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-10 15:58:23 -0500 |
commit | db84924c4fc3be1ef0c965d5ece5f6d785c77c5f (patch) | |
tree | 87607701e3b539f48040149794e7eb193eb41268 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8e033a93b37f37aa9fca71a370a895155320af60 (diff) |
mlxsw: spectrum_qdisc: Don't use variable array in mlxsw_sp_tclass_congestion_enable
Resolve the sparse warning:
"sparse: Variable length array is used."
Use 2 arrays for 2 PRM register accesses.
Fixes: 96f17e0776c2 ("mlxsw: spectrum: Support RED qdisc offload")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Yuval Mintz <yuvalm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions