Skip to contentSkip to conversation

x86: vmx: Fix comment typo for ept_access_paddr()

PATCH New Oliver Upton 1 participant 1 message Aug 2, 2019 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: vmx: Fix comment typo for ept_access_paddr()

the comment for ept_access_paddr() referred to a nonexistent ept_access_data. Fixing the comment to correctly refer to ept_access_test_data.

---
 x86/vmx_tests.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
x86/vmx_tests.c +3 -2
index 8ad2674..eb77b54 100644
@@ -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?
Signature · 1 line
2.22.0.770.g0f2c4a37fd-goog