Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: fix some spelling mistakes in the comments by codespell

arch/arm64/include/asm/cpu_ops.h:24: necesary ==> necessary
arch/arm64/include/asm/kvm_arm.h:69: maintainance ==> maintenance
arch/arm64/include/asm/cpufeature.h:361: capabilties ==> capabilities
arch/arm64/kernel/perf_regs.c:19: compatability ==> compatibility
arch/arm64/kernel/smp_spin_table.c:86: endianess ==> endianness
arch/arm64/kernel/smp_spin_table.c:88: endianess ==> endianness
arch/arm64/kvm/vgic/vgic-mmio-v3.c:1004: targetting ==> targeting
arch/arm64/kvm/vgic/vgic-mmio-v3.c:1005: targetting ==> targeting

Signed-off-by: Xiaoming Ni <nixiaoming@huawei.com>
Link: https://lore.kernel.org/r/20200828031822.35928-1-nixiaoming@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>

authored by

Xiaoming Ni and committed by
Will Deacon
ad14c192 f75aef39

+8 -8
+1 -1
arch/arm64/include/asm/cpu_ops.h
··· 21 21 * mechanism for doing so, tests whether it is possible to boot 22 22 * the given CPU. 23 23 * @cpu_boot: Boots a cpu into the kernel. 24 - * @cpu_postboot: Optionally, perform any post-boot cleanup or necesary 24 + * @cpu_postboot: Optionally, perform any post-boot cleanup or necessary 25 25 * synchronisation. Called from the cpu being booted. 26 26 * @cpu_can_disable: Determines whether a CPU can be disabled based on 27 27 * mechanism-specific information.
+1 -1
arch/arm64/include/asm/cpufeature.h
··· 358 358 } 359 359 360 360 /* 361 - * Generic helper for handling capabilties with multiple (match,enable) pairs 361 + * Generic helper for handling capabilities with multiple (match,enable) pairs 362 362 * of call backs, sharing the same capability bit. 363 363 * Iterate over each entry to see if at least one matches. 364 364 */
+1 -1
arch/arm64/include/asm/kvm_arm.h
··· 66 66 * TWI: Trap WFI 67 67 * TIDCP: Trap L2CTLR/L2ECTLR 68 68 * BSU_IS: Upgrade barriers to the inner shareable domain 69 - * FB: Force broadcast of all maintainance operations 69 + * FB: Force broadcast of all maintenance operations 70 70 * AMO: Override CPSR.A and enable signaling with VA 71 71 * IMO: Override CPSR.I and enable signaling with VI 72 72 * FMO: Override CPSR.F and enable signaling with VF
+1 -1
arch/arm64/kernel/perf_regs.c
··· 16 16 17 17 /* 18 18 * Our handling of compat tasks (PERF_SAMPLE_REGS_ABI_32) is weird, but 19 - * we're stuck with it for ABI compatability reasons. 19 + * we're stuck with it for ABI compatibility reasons. 20 20 * 21 21 * For a 32-bit consumer inspecting a 32-bit task, then it will look at 22 22 * the first 16 registers (see arch/arm/include/uapi/asm/perf_regs.h).
+2 -2
arch/arm64/kernel/smp_spin_table.c
··· 83 83 84 84 /* 85 85 * We write the release address as LE regardless of the native 86 - * endianess of the kernel. Therefore, any boot-loaders that 86 + * endianness of the kernel. Therefore, any boot-loaders that 87 87 * read this address need to convert this address to the 88 - * boot-loader's endianess before jumping. This is mandated by 88 + * boot-loader's endianness before jumping. This is mandated by 89 89 * the boot protocol. 90 90 */ 91 91 writeq_relaxed(__pa_symbol(secondary_holding_pen), release_addr);
+2 -2
arch/arm64/kvm/vgic/vgic-mmio-v3.c
··· 1001 1001 raw_spin_lock_irqsave(&irq->irq_lock, flags); 1002 1002 1003 1003 /* 1004 - * An access targetting Group0 SGIs can only generate 1005 - * those, while an access targetting Group1 SGIs can 1004 + * An access targeting Group0 SGIs can only generate 1005 + * those, while an access targeting Group1 SGIs can 1006 1006 * generate interrupts of either group. 1007 1007 */ 1008 1008 if (!irq->group || allow_group1) {