diff options
author | Parav Pandit <parav@mellanox.com> | 2019-12-18 08:16:11 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-03-14 02:26:24 +0300 |
commit | 0e6fa491e8b0a9a0115896fc88a404f8d89c2e80 (patch) | |
tree | bee1c71414f93acc6129268611693eed89155031 /drivers/md/dm-builtin.c | |
parent | d6c8022dfb06b27c96d6deca93ce6d762e842878 (diff) | |
download | linux-0e6fa491e8b0a9a0115896fc88a404f8d89c2e80.tar.xz |
net/mlx5: Avoid deriving mlx5_core_dev second time
All callers needs to work on mlx5_core_dev and it is already derived
before calling mlx5_devlink_eswitch_check().
Hence, accept mlx5_core_dev in mlx5_devlink_eswitch_check().
Given that it works on mlx5_core_dev change helper function name to
drop devlink prefix.
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/md/dm-builtin.c')
0 files changed, 0 insertions, 0 deletions