diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-20 13:04:18 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 12:23:35 -0500 |
commit | fecd02eb2c527abd4889779497250f09c1f12eeb (patch) | |
tree | a4c5ebe5cbd789f215cb3fa5b92117f507fbd9ec /drivers/infiniband/hw/hns/hns_roce_qp.c | |
parent | 3067771c517b64a0a72d14ef8a24e882a9adbdcf (diff) | |
download | linux-stable-fecd02eb2c527abd4889779497250f09c1f12eeb.tar.gz linux-stable-fecd02eb2c527abd4889779497250f09c1f12eeb.tar.bz2 linux-stable-fecd02eb2c527abd4889779497250f09c1f12eeb.zip |
IB/hns: 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: Lijun Ou <oulijun@huawei.com>
Cc: Wei Hu(Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_qp.c')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_qp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_qp.c b/drivers/infiniband/hw/hns/hns_roce_qp.c index f036f32f15d3..3f44f2f91f03 100644 --- a/drivers/infiniband/hw/hns/hns_roce_qp.c +++ b/drivers/infiniband/hw/hns/hns_roce_qp.c @@ -101,7 +101,7 @@ static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, event.event = IB_EVENT_QP_ACCESS_ERR; break; default: - dev_dbg(ibqp->device->dma_device, "roce_ib: Unexpected event type %d on QP %06lx\n", + dev_dbg(ibqp->device->dev.parent, "roce_ib: Unexpected event type %d on QP %06lx\n", type, hr_qp->qpn); return; } |