summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_debug.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2018-04-01 17:34:51 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-01 17:56:41 +0300
commitc8276dd250e9a9833f8ff1da1cd53e6f7e6825e2 (patch)
tree391da5a66bfdec002bdea19fb11dd97c40656956 /drivers/scsi/scsi_debug.c
parent9270aa0ddcf33527977bf4562ea3434c79af0d09 (diff)
downloadlinux-c8276dd250e9a9833f8ff1da1cd53e6f7e6825e2.tar.xz
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 <jiri@mellanox.com> Acked-by: Arkadi Sharshevsky <arkadis@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/scsi_debug.c')
0 files changed, 0 insertions, 0 deletions