diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-20 22:04:31 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 18:26:17 +0100 |
commit | 61118cecf2683c082ec9bc86a8916d35c73d6e5b (patch) | |
tree | b6ab8a380633a17d2461f07c7009b1b58c377d44 /drivers/infiniband | |
parent | IB/IPoIB: Switch from dma_device to dev.parent (diff) | |
download | linux-61118cecf2683c082ec9bc86a8916d35c73d6e5b.tar.xz linux-61118cecf2683c082ec9bc86a8916d35c73d6e5b.zip |
IB/iser: 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: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index 9104e6b8cac9..da3caef1b7cb 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c @@ -659,7 +659,7 @@ iscsi_iser_session_create(struct iscsi_endpoint *ep, ib_conn->device->ib_device->attrs.max_fast_reg_page_list_len); if (iscsi_host_add(shost, - ib_conn->device->ib_device->dma_device)) { + ib_conn->device->ib_device->dev.parent)) { mutex_unlock(&iser_conn->state_mutex); goto free_host; } |