diff options
author | Jiri Pirko <[email protected]> | 2018-04-01 17:34:51 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-04-01 10:56:41 -0400 |
commit | c8276dd250e9a9833f8ff1da1cd53e6f7e6825e2 (patch) | |
tree | 391da5a66bfdec002bdea19fb11dd97c40656956 /lib/mpi/mpiutil.c | |
parent | 9270aa0ddcf33527977bf4562ea3434c79af0d09 (diff) |
mlxsw: spectrum_kvdl: Fix handling of resource_size_param
Current code uses global variables, adjusts them and passes pointer down
to devlink. With every other mlxsw_core instance, the previously passed
pointer values are rewritten. Fix this by de-globalize the variables.
Fixes: 7f47b19bd744 ("mlxsw: spectrum_kvdl: Add support for per part occupancy")
Signed-off-by: Jiri Pirko <[email protected]>
Acked-by: Arkadi Sharshevsky <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions