From 6b05c10930c561e29121bd2f5ceda1e488a31dac Mon Sep 17 00:00:00 2001 From: Shuhei Matsumoto Date: Fri, 27 Sep 2019 15:24:24 +0900 Subject: [PATCH] nvmf/rdma: Change iovpos of struct nvmf_rdma_request from int to uint32_t The type of iovcnt of struct spdk_nvmf_request is uint32_t, and so change the type of iovpos of struct spdk_nvmf_rdma_request from int to uint32_t. iovpos of struct spdk_nvmf_rdma_request is only incremented and accessed. It is not used for comparison. So to avoid rerunning CI, this fix is appended to the patch series. Signed-off-by: Shuhei Matsumoto Change-Id: I65fc5dfb7067f6e8f7cb1e555f010b246a72ec32 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469660 Reviewed-by: Jim Harris Reviewed-by: Alexey Marchuk Reviewed-by: Ben Walker Tested-by: SPDK CI Jenkins --- lib/nvmf/rdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nvmf/rdma.c b/lib/nvmf/rdma.c index ec2ca4cfd..211f91613 100644 --- a/lib/nvmf/rdma.c +++ b/lib/nvmf/rdma.c @@ -264,7 +264,7 @@ struct spdk_nvmf_rdma_request { struct spdk_nvmf_rdma_request_data data; - int iovpos; + uint32_t iovpos; uint32_t num_outstanding_data_wr; uint64_t receive_tsc;