nvme-rdma: 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: 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: Sagi Grimberg <sagi@grimbeg.me> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
5f68dcaff5
commit
92f4ae3559
|
@ -1266,7 +1266,7 @@ static int nvme_rdma_addr_resolved(struct nvme_rdma_queue *queue)
|
|||
|
||||
dev = nvme_rdma_find_get_device(queue->cm_id);
|
||||
if (!dev) {
|
||||
dev_err(queue->cm_id->device->dma_device,
|
||||
dev_err(queue->cm_id->device->dev.parent,
|
||||
"no client data found!\n");
|
||||
return -ECONNREFUSED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue