* [PATCH 4/6] selftests: kvm: riscv: fix spelling mistakes in comments
[not found] ` <20250815001803.112924-1-sohammetha01@gmail.com>
@ 2025-08-15 0:18 ` Soham Metha
0 siblings, 0 replies; only message in thread
From: Soham Metha @ 2025-08-15 0:18 UTC (permalink / raw)
To: linux-kselftest
Cc: shuah, skhan, linux-kernel-mentees, linux-kernel, Soham Metha,
Anup Patel, Atish Patra, Paolo Bonzini, Paul Walmsley,
Palmer Dabbelt, Albert Ou, Alexandre Ghiti, kvm, kvm-riscv,
linux-riscv
found/fixed the following typos
- indicies -> indices
- requrired -> required
- guranteed -> guaranteed
in `tools/testing/selftests/kvm/riscv/sbi_pmu_test.c`
Signed-off-by: Soham Metha <sohammetha01@gmail.com>
---
tools/testing/selftests/kvm/riscv/sbi_pmu_test.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tools/testing/selftests/kvm/riscv/sbi_pmu_test.c b/tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
index 924a335d2262..6a8818ac036c 100644
--- a/tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
+++ b/tools/testing/selftests/kvm/riscv/sbi_pmu_test.c
@@ -212,7 +212,7 @@ static void update_counter_info(int num_counters)
for (i = 0; i < num_counters; i++) {
ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_GET_INFO, i, 0, 0, 0, 0, 0);
- /* There can be gaps in logical counter indicies*/
+ /* There can be gaps in logical counter indices*/
if (ret.error)
continue;
GUEST_ASSERT_NE(ret.value, 0);
@@ -446,7 +446,7 @@ static void test_pmu_basic_sanity(void)
ret = sbi_ecall(SBI_EXT_PMU, SBI_EXT_PMU_COUNTER_GET_INFO, i,
0, 0, 0, 0, 0);
- /* There can be gaps in logical counter indicies*/
+ /* There can be gaps in logical counter indices*/
if (ret.error)
continue;
GUEST_ASSERT_NE(ret.value, 0);
@@ -474,7 +474,7 @@ static void test_pmu_events_snaphost(void)
struct riscv_pmu_snapshot_data *snapshot_data = snapshot_gva;
int i;
- /* Verify presence of SBI PMU and minimum requrired SBI version */
+ /* Verify presence of SBI PMU and minimum required SBI version */
verify_sbi_requirement_assert();
snapshot_set_shmem(snapshot_gpa, 0);
@@ -489,7 +489,7 @@ static void test_pmu_events_snaphost(void)
if (counter_mask_available & (BIT(i)))
GUEST_ASSERT_EQ(READ_ONCE(snapshot_data->ctr_values[i]), 0);
}
- /* Only these two events are guranteed to be present */
+ /* Only these two events are guaranteed to be present */
test_pmu_event_snapshot(SBI_PMU_HW_CPU_CYCLES);
test_pmu_event_snapshot(SBI_PMU_HW_INSTRUCTIONS);
@@ -500,7 +500,7 @@ static void test_pmu_events_overflow(void)
{
int num_counters = 0, i = 0;
- /* Verify presence of SBI PMU and minimum requrired SBI version */
+ /* Verify presence of SBI PMU and minimum required SBI version */
verify_sbi_requirement_assert();
snapshot_set_shmem(snapshot_gpa, 0);
--
2.34.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-15 1:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250815000859.112169-1-sohammetha01@gmail.com>
[not found] ` <20250815001803.112924-1-sohammetha01@gmail.com>
2025-08-15 0:18 ` [PATCH 4/6] selftests: kvm: riscv: fix spelling mistakes in comments Soham Metha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).