diff options
author | Parav Pandit | 2019-04-29 20:14:02 +0200 |
---|---|---|
committer | Saeed Mahameed | 2019-04-30 01:55:05 +0200 |
commit | 27b942fbbd3107d4e969ece133925cd646239ef4 (patch) | |
tree | 3101e5df55edf86390a242db9cf9de3de9c95171 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | net/mlx5: E-Switch: Introduce prio tag mode (diff) | |
download | kernel-qcow2-linux-27b942fbbd3107d4e969ece133925cd646239ef4.tar.gz kernel-qcow2-linux-27b942fbbd3107d4e969ece133925cd646239ef4.tar.xz kernel-qcow2-linux-27b942fbbd3107d4e969ece133925cd646239ef4.zip |
net/mlx5: Get rid of storing copy of device name
Currently mlx5 core stores copy of the PCI device name in a
mlx5_priv structure and uses pr_warn, pr_err helpers.
Get rid of the copy of this name; instead store the parent device
pointer that contains name as well as dma specific parameters.
This also allows to use kernel's well defined dev_warn, dev_err, dev_dbg
device specific print routines.
This is also a preparation patch to access non PCI parent device in
future.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions