[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220715132413.301017-1-colin.i.king@gmail.com>
Date: Fri, 15 Jul 2022 14:24:13 +0100
From: Colin Ian King <colin.i.king@...il.com>
To: Christoph Hellwig <hch@....de>, Sagi Grimberg <sagi@...mberg.me>,
Chaitanya Kulkarni <kch@...dia.com>,
Hannes Reinecke <hare@...e.de>, linux-nvme@...ts.infradead.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH][next] nvmet-auth: Fix a couple of spelling mistakes
There are a couple of spelling mistakes in pr_warn and pr_debug messages.
Fix them.
Signed-off-by: Colin Ian King <colin.i.king@...il.com>
---
drivers/nvme/common/auth.c | 2 +-
drivers/nvme/target/auth.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/nvme/common/auth.c b/drivers/nvme/common/auth.c
index 0c86ebce59d2..f93d369b8850 100644
--- a/drivers/nvme/common/auth.c
+++ b/drivers/nvme/common/auth.c
@@ -346,7 +346,7 @@ int nvme_auth_augmented_challenge(u8 hmac_id, u8 *skey, size_t skey_len,
hmac_name = nvme_auth_hmac_name(hmac_id);
if (!hmac_name) {
- pr_warn("%s: invalid hash algoritm %d\n",
+ pr_warn("%s: invalid hash algorithm %d\n",
__func__, hmac_id);
ret = -EINVAL;
goto out_free_key;
diff --git a/drivers/nvme/target/auth.c b/drivers/nvme/target/auth.c
index bf92435c783c..b41c7bbcc436 100644
--- a/drivers/nvme/target/auth.c
+++ b/drivers/nvme/target/auth.c
@@ -515,7 +515,7 @@ int nvmet_auth_ctrl_sesskey(struct nvmet_req *req,
req->sq->dhchap_skey,
req->sq->dhchap_skey_len);
if (ret)
- pr_debug("failed to compute shared secred, err %d\n", ret);
+ pr_debug("failed to compute shared secret, err %d\n", ret);
else
pr_debug("%s: shared secret %*ph\n", __func__,
(int)req->sq->dhchap_skey_len,
--
2.35.3
Powered by blists - more mailing lists