arm64: fix typos in comments
v2 cover arm64: fix typos in comments
This is v2 of the spelling fixes for this tree.
Changes since v1:
The pauth.c change is corrected: the doubled 'is' is a misspelt 'it is', so v1 deleted the wrong word. Spotted by Fuad Tabba.
Only comments change; no code is touched.
arch/arm64/kvm/hyp/entry.S | 2 +- arch/arm64/kvm/pauth.c | 2 +- tools/testing/selftests/kvm/arm64/debug-exceptions.c | 2 +- tools/testing/selftests/kvm/arm64/hypercalls.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-)
PATCH v2 1/3 arm64: kvm: fix typo "synchonized" in comment
Correct "synchonized" to "synchronized", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- arch/arm64/kvm/hyp/entry.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kvm/hyp/entry.S +1 -1
@@ -46,7 +46,7 @@ alternative_else_nop_endif // Ensure that __guest_enter() always provides a context // synchronization event so that callers don't need ISBs for anything - // that would usually be synchonized by the ERET. + // that would usually be synchronized by the ERET. isb mov x0, #ARM_EXCEPTION_IRQ ret
PATCH v2 2/3 selftests: kvm: fix typos in comments
In reply to Hemanth SelamFix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- tools/testing/selftests/kvm/arm64/debug-exceptions.c | 2 +- tools/testing/selftests/kvm/arm64/hypercalls.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/kvm/arm64/debug-exceptions.c +1 -1
@@ -387,7 +387,7 @@ static void guest_code_ss(int test_cnt)* Enable Single Step execution. Note! This _must_ be a bare * ucall as the ucall() path uses atomic operations to manage * the ucall structures, and the built-in "atomics" are usually -* implemented via exclusive access instructions. The exlusive +* implemented via exclusive access instructions. The exclusive * monitor is cleared on ERET, and so taking debug exceptions * during a LDREX=>STREX sequence will prevent forward progress * and hang the guest/test.
tools/testing/selftests/kvm/arm64/hypercalls.c +2 -2
@@ -1,9 +1,9 @@// SPDX-License-Identifier: GPL-2.0-only -/* hypercalls: Check the ARM64's psuedo-firmware bitmap register interface. +/* hypercalls: Check the ARM64's pseudo-firmware bitmap register interface. * * The test validates the basic hypercall functionalities that are exposed -* via the psuedo-firmware bitmap register. This includes the registers' +* via the pseudo-firmware bitmap register. This includes the registers' * read/write behavior before and after the VM has started, and if the * hypercalls are properly masked or unmasked to the guest when disabled or * enabled from the KVM userspace, respectively.
PATCH v2 3/3 arm64: kvm: fix typo in pauth.c comment
In reply to Hemanth SelamThe comment reads "This code assumes that is is run from EL2". The first "is" is not a repetition, it should be "it".
v1 deleted the second "is" instead, which left the sentence without a subject. Fuad Tabba pointed out the correct reading.
Only touches a comment, no code changes.
--- arch/arm64/kvm/pauth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kvm/pauth.c +1 -1
@@ -5,7 +5,7 @@* * Primitive PAuth emulation for ERETAA/ERETAB. * -* This code assumes that is is run from EL2, and that it is part of +* This code assumes that it is run from EL2, and that it is part of * the emulation of ERETAx for a guest hypervisor. That's a lot of * baked-in assumptions and shortcuts. *
Quoted 9 lines · Hemanth Selam
This is v2 of the spelling fixes for this tree.
Changes since v1:
Thepauth.cchange is corrected: the doubled 'is' is a misspelt 'it is', so v1 deleted the wrong word. Spotted by Fuad Tabba.Only comments change; no code is touched.
[...]
Applied to next, thanks!
[1/3] arm64: kvm: fix typo "synchonized" in comment
commit: e9fac0fc75abadefbbfbcf514f5d3b6e3d8c1196
[2/3] selftests: kvm: fix typos in comments
commit: acf96ecc5fb6a802928a0b71bcded2addc3e58d4
[3/3] arm64: kvm: fix typo in pauth.c comment
commit: dacfc40976411dfa97efbe1cc21650049a391eb7Cheers,
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.