Jiri Pirko db84924c4f 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>
2018-01-10 15:58:23 -05:00
..
2018-01-08 14:30:28 -05:00
2017-11-14 15:46:17 +09:00
2018-01-10 15:08:46 -05:00
2017-11-21 15:57:07 -08:00
2017-11-16 10:49:00 +09:00
2017-12-02 21:31:03 -05:00
2017-12-02 21:31:03 -05:00
2017-12-08 12:58:51 -08:00
2017-12-19 13:37:27 -05:00