Skip to contentSkip to conversation

x86: fix typos in comments

PATCH Applied Hemanth Selam 1 participant 1 message Sep 7 x86

v1 of 6 Applied 1/14 Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH 9/14 x86: fix typos in comments

Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Assisted-by Cursor:claude-opus-5
---
 arch/x86/include/asm/iosf_mbi.h  | 2 +-
 arch/x86/include/asm/processor.h | 2 +-
 arch/x86/kernel/cpu/common.c     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/x86/include/asm/iosf_mbi.h +1 -1
index 8ace6559d399..386f285736ce 100644
@@ -137,7 +137,7 @@ void iosf_mbi_punit_release(void);
  *
  * Note this function may be called multiple times and the bus will not
  * be released until iosf_mbi_unblock_punit_i2c_access() has been called the
- * same amount of times.
+ * same number of times.
  *
  * Return: Nonzero on error
  */
arch/x86/include/asm/processor.h +1 -1
index ec9db0dfa0df..0709e5e1b004 100644
@@ -373,7 +373,7 @@ struct x86_hw_tss {
 	(offsetof(struct tss_struct, x86_tss) + sizeof(struct x86_hw_tss) - 1)
 #endif
 
-/* Base offset outside of TSS_LIMIT so unpriviledged IO causes #GP */
+/* Base offset outside of TSS_LIMIT so unprivileged IO causes #GP */
 #define IO_BITMAP_OFFSET_INVALID	(__KERNEL_TSS_LIMIT + 1)
 
 struct entry_stack {
arch/x86/kernel/cpu/common.c +1 -1
index c7352827f491..bbf4963c1983 100644
@@ -2628,7 +2628,7 @@ void __init arch_cpu_finalize_init(void)
 	fpu__init_cpu();
 
 	/*
-	 * This needs to follow the FPU initializtion, since EFI depends on it.
+	 * This needs to follow the FPU initialization, since EFI depends on it.
 	 */
 	if (efi_enabled(EFI_RUNTIME_SERVICES))
 		efi_enter_virtual_mode();