mirror of https://gitee.com/openkylin/linux.git
nvme-rdma: align to generic ib_event logging helper
Signed-off-by: Max Gurtovoy <maxg@mellanox.com> Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
675796be47
commit
27a4beef0b
|
@ -240,7 +240,9 @@ static struct nvme_rdma_qe *nvme_rdma_alloc_ring(struct ib_device *ibdev,
|
||||||
|
|
||||||
static void nvme_rdma_qp_event(struct ib_event *event, void *context)
|
static void nvme_rdma_qp_event(struct ib_event *event, void *context)
|
||||||
{
|
{
|
||||||
pr_debug("QP event %d\n", event->event);
|
pr_debug("QP event %s (%d)\n",
|
||||||
|
ib_event_msg(event->event), event->event);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int nvme_rdma_wait_for_cm(struct nvme_rdma_queue *queue)
|
static int nvme_rdma_wait_for_cm(struct nvme_rdma_queue *queue)
|
||||||
|
|
Loading…
Reference in New Issue