Skip to contentSkip to conversation

KVM: selftests: Fix spelling mistake "trigged" -> "triggered"

PATCH In review Colin Ian King 3 participants 4 messages Mar 7, 2024 – Mar 25, 2024

Subsystems (6)
KVM Kselftest Kernel janitors RISC-V +2 more subsystems
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: selftests: Fix spelling mistake "trigged" -> "triggered"

There are spelling mistakes in __GUEST_ASSERT messages. Fix them.

---
 tools/testing/selftests/kvm/aarch64/arch_timer.c | 2 +-
 tools/testing/selftests/kvm/riscv/arch_timer.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/kvm/aarch64/arch_timer.c +1 -1
index ddba2c2fb5de..16ac74d07d68 100644
@@ -136,7 +136,7 @@ static void guest_run_stage(struct test_vcpu_shared_data *shared_data,
 		irq_iter = READ_ONCE(shared_data->nr_iter);
 		__GUEST_ASSERT(config_iter + 1 == irq_iter,
 				"config_iter + 1 = 0x%lx, irq_iter = 0x%lx.\n"
-				"  Guest timer interrupt was not trigged within the specified\n"
+				"  Guest timer interrupt was not triggered within the specified\n"
 				"  interval, try to increase the error margin by [-e] option.\n",
 				config_iter + 1, irq_iter);
 	}
tools/testing/selftests/kvm/riscv/arch_timer.c +1 -1
index e22848f747c0..0f9cabd99fd4 100644
@@ -60,7 +60,7 @@ static void guest_run(struct test_vcpu_shared_data *shared_data)
 		irq_iter = READ_ONCE(shared_data->nr_iter);
 		__GUEST_ASSERT(config_iter + 1 == irq_iter,
 				"config_iter + 1 = 0x%x, irq_iter = 0x%x.\n"
-				"  Guest timer interrupt was not trigged within the specified\n"
+				"  Guest timer interrupt was not triggered within the specified\n"
 				"  interval, try to increase the error margin by [-e] option.\n",
 				config_iter + 1, irq_iter);
 	}
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw

Thanks for the fix Colin. Paolo/Anup, up to you how you want to play it, I see the 6.9 PR is already out for riscv.

Quoted 37 lines · Colin Ian King

There are spelling mistakes in __GUEST_ASSERT messages. Fix them.

---
 tools/testing/selftests/kvm/aarch64/arch_timer.c | 2 +-
 tools/testing/selftests/kvm/riscv/arch_timer.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/kvm/aarch64/arch_timer.c +1 -1
index ddba2c2fb5de..16ac74d07d68 100644
@@ -136,7 +136,7 @@ static void guest_run_stage(struct test_vcpu_shared_data *shared_data,
 		irq_iter = READ_ONCE(shared_data->nr_iter);
 		__GUEST_ASSERT(config_iter + 1 == irq_iter,
 				"config_iter + 1 = 0x%lx, irq_iter = 0x%lx.\n"
-				"  Guest timer interrupt was not trigged within the specified\n"
+				"  Guest timer interrupt was not triggered within the specified\n"
 				"  interval, try to increase the error margin by [-e] option.\n",
 				config_iter + 1, irq_iter);
 	}
tools/testing/selftests/kvm/riscv/arch_timer.c +1 -1
index e22848f747c0..0f9cabd99fd4 100644
@@ -60,7 +60,7 @@ static void guest_run(struct test_vcpu_shared_data *shared_data)
 		irq_iter = READ_ONCE(shared_data->nr_iter);
 		__GUEST_ASSERT(config_iter + 1 == irq_iter,
 				"config_iter + 1 = 0x%x, irq_iter = 0x%x.\n"
-				"  Guest timer interrupt was not trigged within the specified\n"
+				"  Guest timer interrupt was not triggered within the specified\n"
 				"  interval, try to increase the error margin by [-e] option.\n",
 				config_iter + 1, irq_iter);
 	}
Signature · 1 line
2.39.2
Signature · 2 lines
Thanks,
Oliver
maintainer
#2 lore raw
Quoted 5 lines · On Fri, Mar 8, 2024 at 3:47?AM Oliver Upton <[email protected]> wrote:

Thanks for the fix Colin. Paolo/Anup, up to you how you want to play it, I see the 6.9 PR is already out for riscv.

I can take this as a Linux-6.9-rcX fix if everyone is okay with it.

Regards,
Anup

Quoted 43 lines · Colin Ian King
Quoted 35 lines

There are spelling mistakes in __GUEST_ASSERT messages. Fix them.

---
 tools/testing/selftests/kvm/aarch64/arch_timer.c | 2 +-
 tools/testing/selftests/kvm/riscv/arch_timer.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/kvm/aarch64/arch_timer.c +1 -1
index ddba2c2fb5de..16ac74d07d68 100644
@@ -136,7 +136,7 @@ static void guest_run_stage(struct test_vcpu_shared_data *shared_data,
              irq_iter = READ_ONCE(shared_data->nr_iter);
              __GUEST_ASSERT(config_iter + 1 == irq_iter,
                              "config_iter + 1 = 0x%lx, irq_iter = 0x%lx.\n"
-                             "  Guest timer interrupt was not trigged within the specified\n"
+                             "  Guest timer interrupt was not triggered within the specified\n"
                              "  interval, try to increase the error margin by [-e] option.\n",
                              config_iter + 1, irq_iter);
      }
tools/testing/selftests/kvm/riscv/arch_timer.c +1 -2
index e22848f747c0..0f9cabd99fd4 100644
@@ -60,7 +60,7 @@ static void guest_run(struct test_vcpu_shared_data *shared_data)
              irq_iter = READ_ONCE(shared_data->nr_iter);
              __GUEST_ASSERT(config_iter + 1 == irq_iter,
                              "config_iter + 1 = 0x%x, irq_iter = 0x%x.\n"
-                             "  Guest timer interrupt was not trigged within the specified\n"
+                             "  Guest timer interrupt was not triggered within the specified\n"
                              "  interval, try to increase the error margin by [-e] option.\n",
                              config_iter + 1, irq_iter);
      }
--
Quoted 2 lines

2.39.2

--
Thanks,
Oliver

maintainer
#3 lore raw
In reply to Colin Ian King
Quoted 4 lines · On Thu, Mar 7, 2024 at 1:49?PM Colin Ian King <[email protected]> wrote:

There are spelling mistakes in __GUEST_ASSERT messages. Fix them.

Queued this patch for Linux-6.9 fixes.

Thanks,
Anup

Quoted 34 lines
---
 tools/testing/selftests/kvm/aarch64/arch_timer.c | 2 +-
 tools/testing/selftests/kvm/riscv/arch_timer.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/kvm/aarch64/arch_timer.c +1 -1
index ddba2c2fb5de..16ac74d07d68 100644
@@ -136,7 +136,7 @@ static void guest_run_stage(struct test_vcpu_shared_data *shared_data,
                irq_iter = READ_ONCE(shared_data->nr_iter);
                __GUEST_ASSERT(config_iter + 1 == irq_iter,
                                "config_iter + 1 = 0x%lx, irq_iter = 0x%lx.\n"
-                               "  Guest timer interrupt was not trigged within the specified\n"
+                               "  Guest timer interrupt was not triggered within the specified\n"
                                "  interval, try to increase the error margin by [-e] option.\n",
                                config_iter + 1, irq_iter);
        }
tools/testing/selftests/kvm/riscv/arch_timer.c +1 -2
index e22848f747c0..0f9cabd99fd4 100644
@@ -60,7 +60,7 @@ static void guest_run(struct test_vcpu_shared_data *shared_data)
                irq_iter = READ_ONCE(shared_data->nr_iter);
                __GUEST_ASSERT(config_iter + 1 == irq_iter,
                                "config_iter + 1 = 0x%x, irq_iter = 0x%x.\n"
-                               "  Guest timer interrupt was not trigged within the specified\n"
+                               "  Guest timer interrupt was not triggered within the specified\n"
                                "  interval, try to increase the error margin by [-e] option.\n",
                                config_iter + 1, irq_iter);
        }
--

2.39.2