Skip to content

Commit c434263

Browse files
committed
x86: Fix leftover comment typos
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 6f0d271 commit c434263

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

arch/x86/hyperv/hv_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ bool hv_query_ext_cap(u64 cap_query)
623623
* output parameter to the hypercall below and so it should be
624624
* compatible with 'virt_to_phys'. Which means, it's address should be
625625
* directly mapped. Use 'static' to keep it compatible; stack variables
626-
* can be virtually mapped, making them imcompatible with
626+
* can be virtually mapped, making them incompatible with
627627
* 'virt_to_phys'.
628628
* Hypercall input/output addresses should also be 8-byte aligned.
629629
*/

arch/x86/include/asm/sgx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
/*
1414
* This file contains both data structures defined by SGX architecture and Linux
1515
* defined software data structures and functions. The two should not be mixed
16-
* together for better readibility. The architectural definitions come first.
16+
* together for better readability. The architectural definitions come first.
1717
*/
1818

1919
/* The SGX specific CPUID function. */

arch/x86/include/asm/stackprotector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* The same segment is shared by percpu area and stack canary. On
1212
* x86_64, percpu symbols are zero based and %gs (64-bit) points to the
1313
* base of percpu area. The first occupant of the percpu area is always
14-
* fixed_percpu_data which contains stack_canary at the approproate
14+
* fixed_percpu_data which contains stack_canary at the appropriate
1515
* offset. On x86_32, the stack canary is just a regular percpu
1616
* variable.
1717
*

arch/x86/kernel/kprobes/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ static int prepare_emulation(struct kprobe *p, struct insn *insn)
674674
break;
675675

676676
if (insn->addr_bytes != sizeof(unsigned long))
677-
return -EOPNOTSUPP; /* Don't support differnt size */
677+
return -EOPNOTSUPP; /* Don't support different size */
678678
if (X86_MODRM_MOD(opcode) != 3)
679679
return -EOPNOTSUPP; /* TODO: support memory addressing */
680680

arch/x86/kvm/mmu/mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2374,7 +2374,7 @@ static int make_mmu_pages_available(struct kvm_vcpu *vcpu)
23742374
* page is available, while the caller may end up allocating as many as
23752375
* four pages, e.g. for PAE roots or for 5-level paging. Temporarily
23762376
* exceeding the (arbitrary by default) limit will not harm the host,
2377-
* being too agressive may unnecessarily kill the guest, and getting an
2377+
* being too aggressive may unnecessarily kill the guest, and getting an
23782378
* exact count is far more trouble than it's worth, especially in the
23792379
* page fault paths.
23802380
*/

arch/x86/kvm/mmu/tdp_mmu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ int kvm_tdp_mmu_map(struct kvm_vcpu *vcpu, gpa_t gpa, u32 error_code,
10171017

10181018
if (!is_shadow_present_pte(iter.old_spte)) {
10191019
/*
1020-
* If SPTE has been forzen by another thread, just
1020+
* If SPTE has been frozen by another thread, just
10211021
* give up and retry, avoiding unnecessary page table
10221022
* allocation and free.
10231023
*/

0 commit comments

Comments
 (0)