From: Thomas Huth <thuth@redhat.com>
To: Andrew Jones <drjones@redhat.com>, kvm@vger.kernel.org
Cc: kvmarm@lists.cs.columbia.edu
Subject: [kvm-unit-tests PATCH] arm: Fix typos
Date: Fri, 11 Mar 2022 18:08:50 +0100 [thread overview]
Message-ID: <20220311170850.2911898-1-thuth@redhat.com> (raw)
Correct typos which were discovered with the "codespell" utility.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
arm/cstart.S | 2 +-
arm/gic.c | 2 +-
arm/micro-bench.c | 2 +-
lib/arm64/asm/assembler.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arm/cstart.S b/arm/cstart.S
index 2401d92..7036e67 100644
--- a/arm/cstart.S
+++ b/arm/cstart.S
@@ -44,7 +44,7 @@ start:
/*
* set stack, making room at top of stack for cpu0's
- * exception stacks. Must start wtih stackptr, not
+ * exception stacks. Must start with stackptr, not
* stacktop, so the thread size masking (shifts) work.
*/
ldr sp, =stackptr
diff --git a/arm/gic.c b/arm/gic.c
index 1e3ea80..60457e2 100644
--- a/arm/gic.c
+++ b/arm/gic.c
@@ -909,7 +909,7 @@ static void test_its_pending_migration(void)
gicv3_lpi_rdist_disable(pe0);
gicv3_lpi_rdist_disable(pe1);
- /* lpis are interleaved inbetween the 2 PEs */
+ /* lpis are interleaved between the 2 PEs */
for (i = 0; i < 256; i++) {
struct its_collection *col = i % 2 ? collection[0] :
collection[1];
diff --git a/arm/micro-bench.c b/arm/micro-bench.c
index c731b1d..8436612 100644
--- a/arm/micro-bench.c
+++ b/arm/micro-bench.c
@@ -265,7 +265,7 @@ static void timer_post(uint64_t ntimes, uint64_t *total_ticks)
{
/*
* We use a 10msec timer to test the latency of PPI,
- * so we substract the ticks of 10msec to get the
+ * so we subtract the ticks of 10msec to get the
* actual latency
*/
*total_ticks -= ntimes * (cntfrq / 100);
diff --git a/lib/arm64/asm/assembler.h b/lib/arm64/asm/assembler.h
index a271e4c..aa8c65a 100644
--- a/lib/arm64/asm/assembler.h
+++ b/lib/arm64/asm/assembler.h
@@ -32,7 +32,7 @@
* kvm-unit-tests has no concept of scheduling.
*
* op: operation passed to dc instruction
- * domain: domain used in dsb instruciton
+ * domain: domain used in dsb instruction
* addr: starting virtual address of the region
* size: size of the region
* Corrupts: addr, size, tmp1, tmp2
--
2.27.0
next reply other threads:[~2022-03-11 17:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 17:08 Thomas Huth [this message]
2022-03-14 8:41 ` [kvm-unit-tests PATCH] arm: Fix typos Andrew Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220311170850.2911898-1-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=drjones@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox