x86: fix typos in comments
PATCH 1/1 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
Signed-off-by Hemanth Selam <[email protected]>
--- arch/x86/include/uapi/asm/kvm.h | 2 +- arch/x86/kvm/lapic.c | 2 +- include/linux/kvm_host.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
arch/x86/include/uapi/asm/kvm.h +1 -1
@@ -551,7 +551,7 @@ struct kvm_nested_state { } hdr;/* -* Define data region as 0 bytes to preserve backwards-compatability +* Define data region as 0 bytes to preserve backwards-compatibility * to old definition of kvm_nested_state in order to avoid changing * KVM_{GET,PUT}_NESTED_STATE ioctl values. */
arch/x86/kvm/lapic.c +1 -1
@@ -2699,7 +2699,7 @@ void kvm_apic_write_nodecode(struct kvm_vcpu *vcpu, u32 offset)* virtual APIC state, but KVM needs to conditionally modify the value * in certain cases, e.g. to clear the ICR busy bit. The cost of extra * conditional branches is likely a wash relative to the cost of the -* maybe-unecessary write, and both are in the noise anyways. +* maybe-unnecessary write, and both are in the noise anyways. */ if (apic_x2apic_mode (apic) && offset ==APIC_ICR )WARN_ON_ONCE (kvm_x2apic_icr_write (apic,kvm_x2apic_icr_read (apic)));
include/linux/kvm_host.h +2 -2
@@ -101,7 +101,7 @@#define KVM_PFN_ERR_NEEDS_IO (KVM_PFN_ERR_MASK + 4)/* -* error pfns indicate that the gfn is in slot but faild to +* error pfns indicate that the gfn is in slot but failed to * translate it to pfn on host. */ static inline bool is_error_pfn (kvm_pfn_t pfn)
@@ -2461,7 +2461,7 @@ void kvm_arch_update_irqfd_routing(struct kvm_kernel_irqfd *irqfd,#endif /* CONFIG_HAVE_KVM_IRQ_BYPASS */ #ifdef CONFIG_HAVE_KVM_INVALID_WAKEUPS -/* If we wakeup during the poll time, was it a sucessful poll? */ +/* If we wakeup during the poll time, was it a successful poll? */ static inline bool vcpu_valid_wakeup (struct kvm_vcpu *vcpu) {return vcpu->valid_wakeup;
Signature · 1 line
2.48.1