]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
KVM: selftests: Fix spelling of 'occurrences' in sparsebit.c comments
authorRahul Kumar <rk0006818@gmail.com>
Fri, 23 May 2025 18:13:52 +0000 (23:43 +0530)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:37:32 +0000 (13:37 -0700)
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>
tools/testing/selftests/kvm/lib/sparsebit.c

index cfed9d26cc71b06a9c4e52c89a52b079944d3a49..a99188f87a38cf832a8cfed921083c78e7f2fd2f 100644 (file)
  *
  *   + 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.
  */