Skip to content

Commit

Permalink
IB/iser: Switch from dma_device to dev.parent
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bart Van Assche authored and Doug Ledford committed Jan 24, 2017
1 parent db97ed0 commit 61118ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/infiniband/ulp/iser/iscsi_iser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 61118ce

Please sign in to comment.