summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/lib/sparsebit.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-07-28 11:32:45 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2025-07-29 08:36:44 -0400
commitb4733cd5be1a284cd92840f3126e4165ab34460c (patch)
tree42348e882aecfa03838a345113f768032fae37e6 /tools/testing/selftests/kvm/lib/sparsebit.c
parent89400f0687a44f6fabacd10e9aa5cad0e15803c9 (diff)
parent71443210e26de3b35aea8dced894ad3c420d55d5 (diff)
Merge tag 'kvm-x86-selftests-6.17' of https://github.com/kvm-x86/linux into HEAD
KVM selftests changes for 6.17 - Fix a comment typo. - Verify KVM is loaded when getting any KVM module param so that attempting to run a selftest without kvm.ko loaded results in a SKIP message about KVM not being loaded/enabled, versus some random parameter not existing. - SKIP tests that hit EACCES when attempting to access a file, with a "Root required?" help message. In most cases, the test just needs to be run with elevated permissions.
Diffstat (limited to 'tools/testing/selftests/kvm/lib/sparsebit.c')
-rw-r--r--tools/testing/selftests/kvm/lib/sparsebit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/kvm/lib/sparsebit.c b/tools/testing/selftests/kvm/lib/sparsebit.c
index cfed9d26cc71..a99188f87a38 100644
--- a/tools/testing/selftests/kvm/lib/sparsebit.c
+++ b/tools/testing/selftests/kvm/lib/sparsebit.c
@@ -116,7 +116,7 @@
*
* + A node with all mask bits set only occurs when the last bit
* described by the previous node is not equal to this nodes
- * starting index - 1. All such occurences of this condition are
+ * starting index - 1. All such occurrences of this condition are
* avoided by moving the setting of the nodes mask bits into
* the previous nodes num_after setting.
*
@@ -592,7 +592,7 @@ static struct node *node_split(struct sparsebit *s, sparsebit_idx_t idx)
*
* + A node with all mask bits set only occurs when the last bit
* described by the previous node is not equal to this nodes
- * starting index - 1. All such occurences of this condition are
+ * starting index - 1. All such occurrences of this condition are
* avoided by moving the setting of the nodes mask bits into
* the previous nodes num_after setting.
*/