]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
nvme-auth: remove unneeded semicolon
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Fri, 25 Jul 2025 07:57:22 +0000 (15:57 +0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 31 Jul 2025 13:35:55 +0000 (06:35 -0700)
No functional modification involved.

./drivers/nvme/host/auth.c:745:2-3: Unneeded semicolon.
./drivers/nvme/host/auth.c:755:2-3: Unneeded semicolon.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22937
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/auth.c

index f6ddbe5532890c77caec5da1fdb5caaa03ba7cc6..201fc8809a628c5313f2b1a319122a5807183599 100644 (file)
@@ -742,7 +742,7 @@ static int nvme_auth_secure_concat(struct nvme_ctrl *ctrl,
                         "%s: qid %d failed to generate digest, error %d\n",
                         __func__, chap->qid, ret);
                goto out_free_psk;
-       };
+       }
        dev_dbg(ctrl->device, "%s: generated digest %s\n",
                 __func__, digest);
        ret = nvme_auth_derive_tls_psk(chap->hash_id, psk, psk_len,
@@ -752,7 +752,7 @@ static int nvme_auth_secure_concat(struct nvme_ctrl *ctrl,
                         "%s: qid %d failed to derive TLS psk, error %d\n",
                         __func__, chap->qid, ret);
                goto out_free_digest;
-       };
+       }
 
        tls_key = nvme_tls_psk_refresh(ctrl->opts->keyring,
                                       ctrl->opts->host->nqn,