summaryrefslogtreecommitdiff
path: root/drivers/nvme
diff options
context:
space:
mode:
authorMax Gurtovoy <maxg@mellanox.com>2016-11-23 12:38:48 +0300
committerSagi Grimberg <sagi@grimberg.me>2016-12-06 11:17:03 +0300
commit27a4beef0b0508621c34aa61725eec2aa39904e0 (patch)
tree52dd80b3c5b45a01273cc80ddd131eca7d162390 /drivers/nvme
parent675796be47d683d9b5cd3d7587e09a1cc4fe9e54 (diff)
downloadlinux-27a4beef0b0508621c34aa61725eec2aa39904e0.tar.xz
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>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/rdma.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index daf9ad340e50..f560cd724274 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -240,7 +240,9 @@ out_free_ring:
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)