Revision db84924c4fc3be1ef0c965d5ece5f6d785c77c5f authored by Jiri Pirko on 10 January 2018, 10:42:44 UTC, committed by David S. Miller on 10 January 2018, 20:58:23 UTC
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>
1 parent 8e033a9
History
File Mode Size
.gitignore -rw-r--r-- 20 bytes
Makefile -rw-r--r-- 541 bytes
page-types.c -rw-r--r-- 28.0 KB
page_owner_sort.c -rw-r--r-- 2.9 KB
slabinfo-gnuplot.sh -rw-r--r-- 5.1 KB
slabinfo.c -rw-r--r-- 36.2 KB

back to top