Skip to content

Commit

Permalink
kvm: selftests: fix spelling mistake: "divisable" and "divisible"
Browse files Browse the repository at this point in the history
Trivial fix to spelling mistakes in comment and message text

Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
Colin Ian King authored and bonzini committed Apr 10, 2018
1 parent 386c6dd commit 4d5f26e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/testing/selftests/kvm/lib/kvm_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ vm_paddr_t vm_phy_page_alloc(struct kvm_vm *vm,
sparsebit_idx_t pg;

TEST_ASSERT((paddr_min % vm->page_size) == 0, "Min physical address "
"not divisable by page size.\n"
"not divisible by page size.\n"
" paddr_min: 0x%lx page_size: 0x%x",
paddr_min, vm->page_size);

Expand Down
4 changes: 2 additions & 2 deletions tools/testing/selftests/kvm/lib/sparsebit.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
* avoided by moving the setting of the nodes mask bits into
* the previous nodes num_after setting.
*
* + Node starting index is evenly divisable by the number of bits
* + Node starting index is evenly divisible by the number of bits
* within a nodes mask member.
*
* + Nodes never represent a range of bits that wrap around the
Expand Down Expand Up @@ -1741,7 +1741,7 @@ void sparsebit_validate_internal(struct sparsebit *s)

/* Validate node index is divisible by the mask size */
if (nodep->idx % MASK_BITS) {
fprintf(stderr, "Node index not divisable by "
fprintf(stderr, "Node index not divisible by "
"mask size,\n"
" nodep: %p nodep->idx: 0x%lx "
"MASK_BITS: %lu\n",
Expand Down

0 comments on commit 4d5f26e

Please sign in to comment.