Re: [PATCH] arch/x86: Fix typos

From: Randy Dunlap
Date: Tue Jan 02 2024 - 21:08:05 EST




On 1/2/24 16:40, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
>
> Fix typos, most reported by "codespell arch/x86". Only touches comments,
> no code changes.
>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> ---
> arch/x86/boot/compressed/Makefile | 2 +-
> arch/x86/boot/compressed/mem.c | 2 +-
> arch/x86/coco/tdx/tdx.c | 2 +-
> arch/x86/crypto/aesni-intel_asm.S | 2 +-
> arch/x86/crypto/aesni-intel_avx-x86_64.S | 2 +-
> arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +-
> arch/x86/crypto/sha512-avx-asm.S | 2 +-
> arch/x86/crypto/sha512-ssse3-asm.S | 2 +-
> arch/x86/events/amd/brs.c | 2 +-
> arch/x86/events/amd/core.c | 2 +-
> arch/x86/events/intel/core.c | 2 +-
> arch/x86/hyperv/hv_apic.c | 2 +-
> arch/x86/hyperv/irqdomain.c | 2 +-
> arch/x86/hyperv/ivm.c | 2 +-
> arch/x86/include/asm/amd_nb.h | 2 +-
> arch/x86/include/asm/extable_fixup_types.h | 2 +-
> arch/x86/include/asm/fpu/types.h | 2 +-
> arch/x86/include/asm/iosf_mbi.h | 2 +-
> arch/x86/include/asm/kvm_host.h | 2 +-
> arch/x86/include/asm/nospec-branch.h | 4 ++--
> arch/x86/include/asm/pgtable_64.h | 2 +-
> arch/x86/include/asm/uv/uv_hub.h | 2 +-
> arch/x86/include/asm/vdso/gettimeofday.h | 2 +-
> arch/x86/include/asm/xen/interface_64.h | 2 +-
> arch/x86/include/uapi/asm/amd_hsmp.h | 2 +-
> arch/x86/kernel/alternative.c | 2 +-
> arch/x86/kernel/amd_gart_64.c | 2 +-
> arch/x86/kernel/apic/Makefile | 2 +-
> arch/x86/kernel/apic/apic.c | 2 +-
> arch/x86/kernel/apic/vector.c | 2 +-
> arch/x86/kernel/cpu/sgx/ioctl.c | 2 +-
> arch/x86/kernel/fpu/core.c | 2 +-
> arch/x86/kernel/head_64.S | 4 ++--
> arch/x86/kernel/hpet.c | 4 ++--
> arch/x86/kernel/kvm.c | 2 +-
> arch/x86/kernel/kvmclock.c | 2 +-
> arch/x86/kernel/ldt.c | 6 +++---
> arch/x86/kernel/process.c | 2 +-
> arch/x86/kernel/sev-shared.c | 2 +-
> arch/x86/kvm/cpuid.c | 2 +-
> arch/x86/kvm/mmu/mmu.c | 4 ++--
> arch/x86/kvm/mmu/tdp_iter.c | 2 +-
> arch/x86/kvm/svm/svm.c | 2 +-
> arch/x86/kvm/vmx/nested.c | 2 +-
> arch/x86/kvm/vmx/vmx.c | 2 +-
> arch/x86/kvm/x86.c | 6 +++---
> arch/x86/lib/delay.c | 2 +-
> arch/x86/mm/init_64.c | 6 +++---
> arch/x86/mm/pat/memtype.c | 2 +-
> arch/x86/mm/pat/set_memory.c | 4 ++--
> arch/x86/mm/pti.c | 2 +-
> arch/x86/mm/tlb.c | 2 +-
> arch/x86/net/bpf_jit_comp.c | 2 +-
> arch/x86/net/bpf_jit_comp32.c | 2 +-
> arch/x86/platform/intel-quark/imr_selftest.c | 2 +-
> arch/x86/platform/pvh/head.S | 2 +-
> arch/x86/platform/uv/uv_nmi.c | 2 +-
> arch/x86/platform/uv/uv_time.c | 2 +-
> arch/x86/realmode/init.c | 2 +-
> arch/x86/xen/mmu_pv.c | 2 +-
> 60 files changed, 71 insertions(+), 71 deletions(-)
>
> diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c
> index 319448d87b99..dbd15a67e9df 100644
> --- a/arch/x86/kernel/apic/vector.c
> +++ b/arch/x86/kernel/apic/vector.c
> @@ -738,7 +738,7 @@ int __init arch_probe_nr_irqs(void)
> void lapic_assign_legacy_vector(unsigned int irq, bool replace)
> {
> /*
> - * Use assign system here so it wont get accounted as allocated
> + * Use assign system here so it won't get accounted as allocated
> * and moveable in the cpu hotplug check and it prevents managed

OK, but movable is preferred.

> * irq reservation from touching it.
> */

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

--
#Randy