From: Soham Metha <sohammetha01@gmail.com>
To: linux-kselftest@vger.kernel.org
Cc: shuah@kernel.org, skhan@linuxfoundation.org,
linux-kernel-mentees@lists.linuxfoundation.org,
linux-kernel@vger.kernel.org,
Soham Metha <sohammetha01@gmail.com>,
Anup Patel <anup@brainfault.org>,
Atish Patra <atish.patra@linux.dev>,
Paolo Bonzini <pbonzini@redhat.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alexandre Ghiti <alex@ghiti.fr>,
kvm@vger.kernel.org, kvm-riscv@lists.infradead.org,
linux-riscv@lists.infradead.org
Subject: [PATCH 4/6] selftests: kvm: riscv: fix spelling mistakes in comments
Date: Fri, 15 Aug 2025 05:48:01 +0530 [thread overview]
Message-ID: <20250815001803.112924-3-sohammetha01@gmail.com> (raw)
In-Reply-To: <20250815001803.112924-1-sohammetha01@gmail.com>
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
next prev parent reply other threads:[~2025-08-15 0:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-15 0:08 [PATCH 0/6] Kselftests: fix spelling mistakes Soham Metha
2025-08-15 0:08 ` [PATCH 1/6] selftests: filesystems: statmout: fix spelling mistake in output Soham Metha
2025-08-15 0:17 ` [PATCH 2/6] setftests: net: netfilter: fix spelling mistakes " Soham Metha
2025-08-15 0:18 ` [PATCH 3/6] selftests: ublk: fixed spelling mistake " Soham Metha
2025-08-15 6:08 ` Ming Lei
2025-08-15 0:18 ` Soham Metha [this message]
2025-08-15 0:18 ` [PATCH 5/6] selftests: kvm: s390: " Soham Metha
2025-08-18 9:56 ` David Hildenbrand
2025-08-15 0:18 ` [PATCH 6/6] selftests: net: tcp_ao: fix spelling mistake in comments Soham Metha
2025-08-15 6:14 ` [PATCH 2/6] setftests: net: netfilter: fix spelling mistakes in output Florian Westphal
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=20250815001803.112924-3-sohammetha01@gmail.com \
--to=sohammetha01@gmail.com \
--cc=alex@ghiti.fr \
--cc=anup@brainfault.org \
--cc=aou@eecs.berkeley.edu \
--cc=atish.patra@linux.dev \
--cc=kvm-riscv@lists.infradead.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel-mentees@lists.linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=pbonzini@redhat.com \
--cc=shuah@kernel.org \
--cc=skhan@linuxfoundation.org \
/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;
as well as URLs for NNTP newsgroup(s).