Skip to content

Commit e9bd00b

Browse files
ipenas-clkawasaki
authored andcommitted
block: Fix typo 'programm' -> 'program'
Fix spelling mistake. No functional change. Signed-off-by: Ignacio Pena <[email protected]>
1 parent 1a46df6 commit e9bd00b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

block/blk-crypto-profile.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ EXPORT_SYMBOL_GPL(blk_crypto_keyslot_index);
237237
* will be stored here. blk_crypto_put_keyslot() must be called
238238
* later to release it. Otherwise, NULL will be stored here.
239239
*
240-
* If the device has keyslots, this gets a keyslot that's been programmed with
240+
* If the device has keyslots, this gets a keyslot that's been programed with
241241
* the specified key. If the key is already in a slot, this reuses it;
242242
* otherwise this waits for a slot to become idle and programs the key into it.
243243
*
@@ -278,7 +278,7 @@ blk_status_t blk_crypto_get_keyslot(struct blk_crypto_profile *profile,
278278

279279
/*
280280
* If we're here, that means there wasn't a slot that was
281-
* already programmed with the key. So try to program it.
281+
* already programed with the key. So try to program it.
282282
*/
283283
if (!list_empty(&profile->idle_slots))
284284
break;
@@ -412,7 +412,7 @@ int __blk_crypto_evict_key(struct blk_crypto_profile *profile,
412412
* blk_crypto_reprogram_all_keys() - Re-program all keyslots.
413413
* @profile: The crypto profile
414414
*
415-
* Re-program all keyslots that are supposed to have a key programmed. This is
415+
* Re-program all keyslots that are supposed to have a key programed. This is
416416
* intended only for use by drivers for hardware that loses its keys on reset.
417417
*
418418
* Context: Process context. Takes and releases profile->lock.

0 commit comments

Comments
 (0)