diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-20 22:04:20 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 18:23:35 +0100 |
commit | d66c88a8fcf7267108eabdb7c975cc85707216f7 (patch) | |
tree | 0e348b3e862e97ca8de39a8afe8e862a7b985f3f /drivers/infiniband/hw/mlx4/mlx4_ib.h | |
parent | IB/i40iw: Remove a superfluous assignment statement (diff) | |
download | linux-d66c88a8fcf7267108eabdb7c975cc85707216f7.tar.xz linux-d66c88a8fcf7267108eabdb7c975cc85707216f7.zip |
IB/mlx4: Switch from dma_device to dev.parent
Prepare for removal of ib_device.dma_device.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mlx4_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx4/mlx4_ib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx4/mlx4_ib.h b/drivers/infiniband/hw/mlx4/mlx4_ib.h index 7f3d976d81ed..64fed44b43a6 100644 --- a/drivers/infiniband/hw/mlx4/mlx4_ib.h +++ b/drivers/infiniband/hw/mlx4/mlx4_ib.h @@ -55,7 +55,7 @@ #define pr_fmt(fmt) "<" MLX4_IB_DRV_NAME "> %s: " fmt, __func__ #define mlx4_ib_warn(ibdev, format, arg...) \ - dev_warn((ibdev)->dma_device, MLX4_IB_DRV_NAME ": " format, ## arg) + dev_warn((ibdev)->dev.parent, MLX4_IB_DRV_NAME ": " format, ## arg) enum { MLX4_IB_SQ_MIN_WQE_SHIFT = 6, |