summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-09-06 08:58:15 +0200
committerKeith Busch <kbusch@kernel.org>2024-09-06 23:20:38 +0200
commit389e72c5d1efcfd3962d29624c1b78cfa002911e (patch)
treef954e04e9b5204e9fbf91c1a75867c0305b75cb1
parentMerge tag 'md-6.12-20240906' of https://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadlinux-389e72c5d1efcfd3962d29624c1b78cfa002911e.tar.xz
linux-389e72c5d1efcfd3962d29624c1b78cfa002911e.zip
nvme: Convert comma to semicolon
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@vivo.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org>
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index 75ab62cb4aa4..1236e3aa00ed 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -4605,7 +4605,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;