diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2016-11-23 11:38:47 +0200 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2016-12-06 10:17:03 +0200 |
commit | 675796be47d683d9b5cd3d7587e09a1cc4fe9e54 (patch) | |
tree | 703fb8acce47cd15e033b3caf39b56a0dc811793 /drivers/nvme/target | |
parent | d4a5340edd6405972795a1d006e8e2b6f7664ca1 (diff) | |
download | talos-op-linux-675796be47d683d9b5cd3d7587e09a1cc4fe9e54.tar.gz talos-op-linux-675796be47d683d9b5cd3d7587e09a1cc4fe9e54.zip |
nvmet-rdma: align to generic ib_event logging helper
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target')
-rw-r--r-- | drivers/nvme/target/rdma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/nvme/target/rdma.c b/drivers/nvme/target/rdma.c index 35b97a898ecd..6c1c3680c5e1 100644 --- a/drivers/nvme/target/rdma.c +++ b/drivers/nvme/target/rdma.c @@ -1130,7 +1130,8 @@ static void nvmet_rdma_qp_event(struct ib_event *event, void *priv) rdma_notify(queue->cm_id, event->event); break; default: - pr_err("received unrecognized IB QP event %d\n", event->event); + pr_err("received IB QP event: %s (%d)\n", + ib_event_msg(event->event), event->event); break; } } |