diff mbox series

[kvm-unit-tests] x86: vmx: Fix comment typo for ept_access_paddr()

Message ID 20190802182814.141849-1-oupton@google.com (mailing list archive)
State New, archived
Headers show
Series [kvm-unit-tests] x86: vmx: Fix comment typo for ept_access_paddr() | expand

Commit Message

Oliver Upton Aug. 2, 2019, 6:28 p.m. UTC
the comment for ept_access_paddr() referred to a nonexistent
ept_access_data. Fixing the comment to correctly refer to
ept_access_test_data.

Signed-off-by: Oliver Upton <oupton@google.com>
---
 x86/vmx_tests.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c
index 8ad2674..eb77b54 100644
--- a/x86/vmx_tests.c
+++ b/x86/vmx_tests.c
@@ -2471,13 +2471,14 @@  static void ept_access_violation(unsigned long access, enum ept_access_op op,
  * with wonky addresses. We don't test that yet.
  *
  * This function modifies the EPT entry that maps the GPA that the guest page
- * table entry mapping ept_access_data.gva resides on.
+ * table entry mapping ept_access_test_data.gva resides on.
  *
  *	@ept_access	EPT permissions to set. Other permissions are cleared.
  *
  *	@pte_ad		Set the A/D bits on the guest PTE accordingly.
  *
- *	@op		Guest operation to perform with ept_access_data.gva.
+ *	@op		Guest operation to perform with
+ *			ept_access_test_data.gva.
  *
  *	@expect_violation
  *			Is a violation expected during the paddr access?