nvme-rdma: align to generic ib_event logging helper
authorMax Gurtovoy <maxg@mellanox.com>
Wed, 23 Nov 2016 09:38:48 +0000 (11:38 +0200)
committerSagi Grimberg <sagi@grimberg.me>
Tue, 6 Dec 2016 08:17:03 +0000 (10:17 +0200)
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>
drivers/nvme/host/rdma.c

index daf9ad340e50d83866ca8037a2f0e7ebac2aef34..f560cd724274da58370d95e12e0c13e1c8f856fd 100644 (file)
@@ -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)