Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KVM: selftests: trivial comment/logging fixes

Some trivial fixes I found while touching related code in this series,
factored out into a separate commit for easier reviewing:

- s/gor/got/ and add a newline in demand_paging_test.c
- s/backing_src/src_type/ in a comment to be consistent with the real
function signature in kvm_util.c

Signed-off-by: Axel Rasmussen <axelrasmussen@google.com>
Message-Id: <20210519200339.829146-2-axelrasmussen@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

authored by

Axel Rasmussen and committed by
Paolo Bonzini
c887d6a1 a10453c0

+3 -3
+1 -1
tools/testing/selftests/kvm/demand_paging_test.c
··· 169 169 if (r == -1) { 170 170 if (errno == EAGAIN) 171 171 continue; 172 - pr_info("Read of uffd gor errno %d", errno); 172 + pr_info("Read of uffd got errno %d\n", errno); 173 173 return NULL; 174 174 } 175 175
+2 -2
tools/testing/selftests/kvm/lib/kvm_util.c
··· 731 731 * 732 732 * Input Args: 733 733 * vm - Virtual Machine 734 - * backing_src - Storage source for this region. 735 - * NULL to use anonymous memory. 734 + * src_type - Storage source for this region. 735 + * NULL to use anonymous memory. 736 736 * guest_paddr - Starting guest physical address 737 737 * slot - KVM region slot 738 738 * npages - Number of physical pages