From: Max Gurtovoy Date: Wed, 23 Nov 2016 09:38:48 +0000 (+0200) Subject: nvme-rdma: align to generic ib_event logging helper X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27a4beef0b0508621c34aa61725eec2aa39904e0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git nvme-rdma: align to generic ib_event logging helper Signed-off-by: Max Gurtovoy Reviewed-by: Jay Freyensee Signed-off-by: Christoph Hellwig --- 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)