[PATCH -next] nvme-auth: remove unneeded semicolon
Hannes Reinecke
hare at suse.de
Fri Jul 25 01:01:51 PDT 2025
On 7/25/25 09:57, Jiapeng Chong wrote:
> 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 at linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=22937
> Signed-off-by: Jiapeng Chong <jiapeng.chong at linux.alibaba.com>
> ---
> drivers/nvme/host/auth.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/nvme/host/auth.c b/drivers/nvme/host/auth.c
> index f6ddbe553289..201fc8809a62 100644
> --- a/drivers/nvme/host/auth.c
> +++ b/drivers/nvme/host/auth.c
> @@ -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,
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list