kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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
  2025-08-15  0:18   ` [PATCH 5/6] selftests: kvm: s390: fixed spelling mistake in output Soham Metha
  1 sibling, 0 replies; 3+ messages 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 5/6] selftests: kvm: s390: fixed spelling mistake in output
       [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
@ 2025-08-15  0:18   ` Soham Metha
  2025-08-18  9:56     ` David Hildenbrand
  1 sibling, 1 reply; 3+ messages 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,
	Christian Borntraeger, Janosch Frank, Claudio Imbrenda,
	David Hildenbrand, Paolo Bonzini, kvm

found/fixed the following typo

- avaialable -> available

in `tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c`

Signed-off-by: Soham Metha <sohammetha01@gmail.com>
---
 tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c b/tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c
index 27255880dabd..aded795d42be 100644
--- a/tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c
+++ b/tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c
@@ -291,7 +291,7 @@ int main(int argc, char *argv[])
 			ksft_test_result_pass("%s\n", testlist[idx].subfunc_name);
 			free(array);
 		} else {
-			ksft_test_result_skip("%s feature is not avaialable\n",
+			ksft_test_result_skip("%s feature is not available\n",
 					      testlist[idx].subfunc_name);
 		}
 	}
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 5/6] selftests: kvm: s390: fixed spelling mistake in output
  2025-08-15  0:18   ` [PATCH 5/6] selftests: kvm: s390: fixed spelling mistake in output Soham Metha
@ 2025-08-18  9:56     ` David Hildenbrand
  0 siblings, 0 replies; 3+ messages in thread
From: David Hildenbrand @ 2025-08-18  9:56 UTC (permalink / raw)
  To: Soham Metha, linux-kselftest
  Cc: shuah, skhan, linux-kernel-mentees, linux-kernel,
	Christian Borntraeger, Janosch Frank, Claudio Imbrenda,
	Paolo Bonzini, kvm

On 15.08.25 02:18, Soham Metha wrote:
> found/fixed the following typo
> 
> - avaialable -> available
> 
> in `tools/testing/selftests/kvm/s390/cpumodel_subfuncs_test.c`
> 
> Signed-off-by: Soham Metha <sohammetha01@gmail.com>
> ---

Reviewed-by: David Hildenbrand <david@redhat.com>

-- 
Cheers

David / dhildenb


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-18  9:56 UTC | newest]

Thread overview: 3+ messages (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
2025-08-15  0:18   ` [PATCH 5/6] selftests: kvm: s390: fixed spelling mistake in output Soham Metha
2025-08-18  9:56     ` David Hildenbrand

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).