From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2070968285459411447==" MIME-Version: 1.0 From: Roland Dreier Subject: [SPDK] [PATCH] nvmf: Correct log messages when polling recv CQ Date: Mon, 12 Sep 2016 14:00:48 -0700 Message-ID: <20160912210048.10787-1-roland@kernel.org> List-ID: To: spdk@lists.01.org --===============2070968285459411447== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Roland Dreier Fix copy-and-paste errors - when polling the recv CQ, we should print "Recv" instead of "Send" in log messages. Signed-off-by: Roland Dreier --- lib/nvmf/rdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nvmf/rdma.c b/lib/nvmf/rdma.c index 367109e13fd8..9671cdca062b 100644 --- a/lib/nvmf/rdma.c +++ b/lib/nvmf/rdma.c @@ -1386,13 +1386,13 @@ spdk_nvmf_rdma_poll(struct spdk_nvmf_conn *conn) if (rc =3D=3D 0) { break; } else if (rc < 0) { - SPDK_ERRLOG("Error polling Send CQ! (%d): %s\n", + SPDK_ERRLOG("Error polling Recv CQ! (%d): %s\n", errno, strerror(errno)); return -1; } = if (wc.status) { - SPDK_ERRLOG("Send CQ error (%d): %s\n", + SPDK_ERRLOG("Recv CQ error (%d): %s\n", wc.status, ibv_wc_status_str(wc.status)); return -1; } -- = 2.9.3 --===============2070968285459411447==--