Commit 27a4beef authored by Max Gurtovoy's avatar Max Gurtovoy Committed by Sagi Grimberg

nvme-rdma: align to generic ib_event logging helper

Signed-off-by: default avatarMax Gurtovoy <maxg@mellanox.com>
Reviewed-by: default avatarJay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 675796be
...@@ -240,7 +240,9 @@ static struct nvme_rdma_qe *nvme_rdma_alloc_ring(struct ib_device *ibdev, ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment