Skip to content

Commit 30142a9

Browse files
rahul19kumar8sean-jc
authored andcommitted
KVM: selftests: Fix spelling of 'occurrences' in sparsebit.c comments
Correct two instances of the misspelled word 'occurences' to 'occurrences' in comments explaining node invariants in sparsebit.c. Signed-off-by: Rahul Kumar <rk0006818@gmail.com> Link: https://lore.kernel.org/r/20250523181606.568320-1-rk0006818@gmail.com [sean: massage changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent 28224ef commit 30142a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/testing/selftests/kvm/lib/sparsebit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
*
117117
* + A node with all mask bits set only occurs when the last bit
118118
* described by the previous node is not equal to this nodes
119-
* starting index - 1. All such occurences of this condition are
119+
* starting index - 1. All such occurrences of this condition are
120120
* avoided by moving the setting of the nodes mask bits into
121121
* the previous nodes num_after setting.
122122
*
@@ -592,7 +592,7 @@ static struct node *node_split(struct sparsebit *s, sparsebit_idx_t idx)
592592
*
593593
* + A node with all mask bits set only occurs when the last bit
594594
* described by the previous node is not equal to this nodes
595-
* starting index - 1. All such occurences of this condition are
595+
* starting index - 1. All such occurrences of this condition are
596596
* avoided by moving the setting of the nodes mask bits into
597597
* the previous nodes num_after setting.
598598
*/

0 commit comments

Comments
 (0)