diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2022-07-15 14:24:13 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-07-26 16:04:23 -0400 |
commit | fc5eb70315dc0c4e060fa11b58780c0c59a4ad79 (patch) | |
tree | 311c60539442e1ee525ba0a8bb49840ddc14527f | |
parent | 86793579ce4ba83d6778515b4e3fcb8041bd0d65 (diff) |
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@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/nvme/common/auth.c | 2 | ||||
-rw-r--r-- | 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 df20445918db..04bd28f17dcc 100644 --- a/drivers/nvme/common/auth.c +++ b/drivers/nvme/common/auth.c @@ -347,7 +347,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 716a10ca91d1..cf690df34775 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, |