Skip to contentSkip to conversation

crypto: fix spelling errors in comments

PATCH In review Sun Chaobo 2 participants 2 messages Feb 24 – Mar 7 Crypto API

lore
Share & tools
lore

Sun Chaobo

author
#0 lore raw

PATCH 1/1 crypto: fix spelling errors in comments

Fix several spelling mistakes in comments across the following files:

- crypto/tcrypt.c: Correct "intentionaly" to "intentionally"
- crypto/xts.c: Correct "mutliple" to "multiple"

No functional change.

---
 crypto/tcrypt.c | 2 +-
 crypto/xts.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
crypto/tcrypt.c +1 -1
index aded37546..6374c86a1 100644
@@ -2817,7 +2817,7 @@ static int __init tcrypt_mod_init(void)
 		pr_debug("all tests passed\n");
 	}
 
-	/* We intentionaly return -EAGAIN to prevent keeping the module,
+	/* We intentionally return -EAGAIN to prevent keeping the module,
 	 * unless we're running in fips mode. It does all its work from
 	 * init() and doesn't offer any runtime functionality, but in
 	 * the fips case, checking for a successful load is helpful.
crypto/xts.c +1 -1
index 3da8f5e05..ad97c8091 100644
@@ -76,7 +76,7 @@ static int xts_setkey(struct crypto_skcipher *parent, const u8 *key,
 /*
  * We compute the tweak masks twice (both before and after the ECB encryption or
  * decryption) to avoid having to allocate a temporary buffer and/or make
- * mutliple calls to the 'ecb(..)' instance, which usually would be slower than
+ * multiple calls to the 'ecb(..)' instance, which usually would be slower than
  * just doing the gf128mul_x_ble() calls again.
  */
 static int xts_xor_tweak(struct skcipher_request *req, bool second_pass,
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 5 lines · Sun Chaobo

Fix several spelling mistakes in comments across the following files:

- crypto/tcrypt.c: Correct "intentionaly" to "intentionally"
- crypto/xts.c: Correct "mutliple" to "multiple"

Quoted 7 lines

No functional change.

---
 crypto/tcrypt.c | 2 +-
 crypto/xts.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Please merge this patch with your previous one.

Thanks,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt