From: Isaku Yamahata <[email protected]>
Fix typo in the comment in private_mem_conversions_test.c.
Fixes: a0f5f8c91180 ("KVM: selftests: x86: Add selftest for private memory conversions")
Signed-off-by: Isaku Yamahata <[email protected]>
---
Changes v2 -> v3:
- Newly added
---
.../testing/selftests/kvm/x86_64/private_mem_conversions_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/x86_64/private_mem_conversions_test.c b/tools/testing/selftests/kvm/x86_64/private_mem_conversions_test.c
index 9b9dd197a260..de6fdb129c68 100644
--- a/tools/testing/selftests/kvm/x86_64/private_mem_conversions_test.c
+++ b/tools/testing/selftests/kvm/x86_64/private_mem_conversions_test.c
@@ -227,7 +227,7 @@ static void *__test_mem_conversions(void *__vcpu)
/* In all cases, the host should observe the shared data. */
memcmp_h(hva, uc.args[3], size);
- /* For shared, write the new patter to guest memory. */
+ /* For shared, write the new pattern to guest memory. */
if (uc.args[0] == SYNC_SHARED)
memset(hva, uc.args[4], size);
break;
--
2.25.1