From 85ddcf6f8d98e49252b24c39bf8cde3f89f38407 Mon Sep 17 00:00:00 2001 From: Ben Walker Date: Tue, 15 Sep 2020 09:29:50 -0700 Subject: [PATCH] nvme/tcp: Clean up error message Fix some spelling and make the message clearer Change-Id: Ib291542a9735d6409db84f16c530e78567123f67 Signed-off-by: Ben Walker Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4249 Tested-by: SPDK CI Jenkins Reviewed-by: Aleksey Marchuk Reviewed-by: Tomasz Zawadzki --- lib/nvme/nvme_tcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/nvme/nvme_tcp.c b/lib/nvme/nvme_tcp.c index e4cd2b569..b0258b412 100644 --- a/lib/nvme/nvme_tcp.c +++ b/lib/nvme/nvme_tcp.c @@ -1244,7 +1244,8 @@ nvme_tcp_r2t_hdr_handle(struct nvme_tcp_qpair *tqpair, struct nvme_tcp_pdu *pdu) tcp_req->active_r2ts++; if (tcp_req->active_r2ts > tqpair->maxr2t) { fes = SPDK_NVME_TCP_TERM_REQ_FES_R2T_LIMIT_EXCEEDED; - SPDK_ERRLOG("Invalid R2T: it exceeds the R2T maixmal=%u for tqpair=%p\n", tqpair->maxr2t, tqpair); + SPDK_ERRLOG("Invalid R2T: Maximum number of R2T exceeded! Max: %u for tqpair=%p\n", tqpair->maxr2t, + tqpair); goto end; }