[PATCH v1] nvme: Convert comma to semicolon

Shen Lichuan shenlichuan at vivo.com
Thu Sep 5 23:58:15 PDT 2024


To ensure code clarity and prevent potential errors, it's advisable 
to employ the ';' as a statement separator, except when ',' are 
intentionally used for specific purposes.

Signed-off-by: Shen Lichuan <shenlichuan at vivo.com>
---
 drivers/nvme/host/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 0dc8bcc664f2..473149ac41c1 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -4567,7 +4567,7 @@ int nvme_alloc_io_tag_set(struct nvme_ctrl *ctrl, struct blk_mq_tag_set *set,
 	set->flags = BLK_MQ_F_SHOULD_MERGE;
 	if (ctrl->ops->flags & NVME_F_BLOCKING)
 		set->flags |= BLK_MQ_F_BLOCKING;
-	set->cmd_size = cmd_size,
+	set->cmd_size = cmd_size;
 	set->driver_data = ctrl;
 	set->nr_hw_queues = ctrl->queue_count - 1;
 	set->timeout = NVME_IO_TIMEOUT;
-- 
2.17.1




More information about the Linux-nvme mailing list