From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxg@mellanox.com (Max Gurtovoy) Date: Mon, 21 Nov 2016 22:45:45 +0200 Subject: [PATCH 2/2] nvme-rdma: align to generic ib_event logging helper In-Reply-To: <1479761145-13264-1-git-send-email-maxg@mellanox.com> References: <1479761145-13264-1-git-send-email-maxg@mellanox.com> Message-ID: <1479761145-13264-2-git-send-email-maxg@mellanox.com> Signed-off-by: Max Gurtovoy --- drivers/nvme/host/rdma.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index 3d25add..bad4ce1 100644 --- a/drivers/nvme/host/rdma.c +++ b/drivers/nvme/host/rdma.c @@ -241,7 +241,9 @@ static void nvme_rdma_free_ring(struct ib_device *ibdev, static void nvme_rdma_qp_event(struct ib_event *event, void *context) { - pr_debug("QP event %d\n", event->event); + pr_err("QP event %s (%d)\n", + ib_event_msg(event->event), event->event); + } static int nvme_rdma_wait_for_cm(struct nvme_rdma_queue *queue) -- 1.7.1