Commit 92f4ae35 authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford

nvme-rdma: Switch from dma_device to dev.parent

Prepare for removal of ib_device.dma_device.
Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Jens Axboe <axboe@fb.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Acked-by: default avatarSagi Grimberg <sagi@grimbeg.me>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 5f68dcaf
...@@ -1266,7 +1266,7 @@ static int nvme_rdma_addr_resolved(struct nvme_rdma_queue *queue) ...@@ -1266,7 +1266,7 @@ static int nvme_rdma_addr_resolved(struct nvme_rdma_queue *queue)
dev = nvme_rdma_find_get_device(queue->cm_id); dev = nvme_rdma_find_get_device(queue->cm_id);
if (!dev) { if (!dev) {
dev_err(queue->cm_id->device->dma_device, dev_err(queue->cm_id->device->dev.parent,
"no client data found!\n"); "no client data found!\n");
return -ECONNREFUSED; return -ECONNREFUSED;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment