From efd928e95968c199ca26b17812777dd703f2aa98 Mon Sep 17 00:00:00 2001 From: John Levon Date: Fri, 30 Jul 2021 13:41:26 +0100 Subject: [PATCH] nvmf/vfio-user: fix comment for map_io_cmd_req() The comment no longer reflected the code. Signed-off-by: John Levon Change-Id: I5903e9483f01dd9b7a61c8f725eba4c38e1b8459 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9008 Community-CI: Broadcom CI Reviewed-by: Changpeng Liu Reviewed-by: Tomasz Zawadzki Tested-by: SPDK CI Jenkins --- lib/nvmf/vfio_user.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/nvmf/vfio_user.c b/lib/nvmf/vfio_user.c index ca0a8f179..0bf6eca14 100644 --- a/lib/nvmf/vfio_user.c +++ b/lib/nvmf/vfio_user.c @@ -2568,10 +2568,9 @@ map_admin_cmd_req(struct nvmf_vfio_user_ctrlr *ctrlr, struct spdk_nvmf_request * } /* - * Handles an I/O command. + * Map an I/O command's buffers. * - * Returns 0 on success and -errno on failure. Sets @submit on whether or not - * the request must be forwarded to NVMf. + * Returns 0 on success and -errno on failure. */ static int map_io_cmd_req(struct nvmf_vfio_user_ctrlr *ctrlr, struct spdk_nvmf_request *req)