summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/common
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-07-15 15:24:13 +0200
committerJens Axboe <axboe@kernel.dk>2022-08-03 01:22:51 +0200
commit9db056e9506ccf74405941777ae128947b81900d (patch)
tree9f768987ae365f4dc475a0a97bf4f4ea8d42dad8 /drivers/nvme/common
parentnvmet: fix a format specifier in nvmet_auth_ctrl_exponential (diff)
downloadlinux-9db056e9506ccf74405941777ae128947b81900d.tar.xz
linux-9db056e9506ccf74405941777ae128947b81900d.zip
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> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/common')
-rw-r--r--drivers/nvme/common/auth.c2
1 files changed, 1 insertions, 1 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;