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-- 44 bytes
Kconfig -rw-r--r-- 3.4 KB
Makefile -rw-r--r-- 4.1 KB
blacklist.c -rw-r--r-- 4.0 KB
blacklist.h -rw-r--r-- 83 bytes
blacklist_hashes.c -rw-r--r-- 166 bytes
blacklist_nohashes.c -rw-r--r-- 121 bytes
system_certificates.S -rw-r--r-- 956 bytes
system_keyring.c -rw-r--r-- 7.5 KB

back to top