Skip to contentSkip to conversation

arm: Fix typos

PATCH Applied Thomas Huth 2 participants 2 messages Mar 11, 2022 – Mar 14, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: Fix typos

Correct typos which were discovered with the "codespell" utility.

---
 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(-)
arm/cstart.S +1 -1
index 2401d92..7036e67 100644
@@ -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
arm/gic.c +1 -1
index 1e3ea80..60457e2 100644
@@ -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];
arm/micro-bench.c +1 -1
index c731b1d..8436612 100644
@@ -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);
lib/arm64/asm/assembler.h +1 -1
index a271e4c..aa8c65a 100644
@@ -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
Signature · 1 line
2.27.0
Applied
#1 lore raw
Quoted 65 lines · Thomas Huth

Correct typos which were discovered with the "codespell" utility.

---
 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(-)
arm/cstart.S +1 -1
index 2401d92..7036e67 100644
@@ -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
arm/gic.c +1 -1
index 1e3ea80..60457e2 100644
@@ -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];
arm/micro-bench.c +1 -1
index c731b1d..8436612 100644
@@ -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);
lib/arm64/asm/assembler.h +1 -1
index a271e4c..aa8c65a 100644
@@ -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
Signature · 1 line
2.27.0

Applied to arm/queue.

Thanks,
drew