Skip to contentSkip to conversation

block: Fix typo 'programm' -> 'program'

PATCH In review Ignacio Peña 2 participants 2 messages Jul 25, 2025 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Fix typo 'programm' -> 'program'

Fix spelling mistake.

No functional change.

---
 block/blk-crypto-profile.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
block/blk-crypto-profile.c +3 -3
index 81918f6e0..72462b6f4 100644
@@ -237,7 +237,7 @@ EXPORT_SYMBOL_GPL(blk_crypto_keyslot_index);
  *	      will be stored here.  blk_crypto_put_keyslot() must be called
  *	      later to release it.  Otherwise, NULL will be stored here.
  *
- * If the device has keyslots, this gets a keyslot that's been programmed with
+ * If the device has keyslots, this gets a keyslot that's been programed with
  * the specified key.  If the key is already in a slot, this reuses it;
  * otherwise this waits for a slot to become idle and programs the key into it.
  *
@@ -278,7 +278,7 @@ blk_status_t blk_crypto_get_keyslot(struct blk_crypto_profile *profile,
 
 		/*
 		 * If we're here, that means there wasn't a slot that was
-		 * already programmed with the key. So try to program it.
+		 * already programed with the key. So try to program it.
 		 */
 		if (!list_empty(&profile->idle_slots))
 			break;
@@ -412,7 +412,7 @@ int __blk_crypto_evict_key(struct blk_crypto_profile *profile,
  * blk_crypto_reprogram_all_keys() - Re-program all keyslots.
  * @profile: The crypto profile
  *
- * Re-program all keyslots that are supposed to have a key programmed.  This is
+ * Re-program all keyslots that are supposed to have a key programed.  This is
  * intended only for use by drivers for hardware that loses its keys on reset.
  *
  * Context: Process context. Takes and releases profile->lock.
Signature · 1 line
2.50.1
#1 lore raw
Quoted 2 lines · Ignacio Peña

- * Re-program all keyslots that are supposed to have a key programmed. This is
+ * Re-program all keyslots that are supposed to have a key programed. This is

My dictionary tells me that the current spelling is correct and preferred. See also https://www.merriam-webster.com/dictionary/program.

Bart.