]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
nvme: Convert comma to semicolon
authorShen Lichuan <shenlichuan@vivo.com>
Fri, 6 Sep 2024 06:58:15 +0000 (14:58 +0800)
committerKeith Busch <kbusch@kernel.org>
Fri, 6 Sep 2024 21:20:38 +0000 (14:20 -0700)
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>
drivers/nvme/host/core.c

index 75ab62cb4aa454066082a011c67b575ed81ec723..1236e3aa00eda47a3c2753ac04e5f88991b5305b 100644 (file)
@@ -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;