[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220614224126.211054-1-shaoqin.huang@intel.com>
Date: Tue, 14 Jun 2022 16:41:19 -0600
From: shaoqin.huang@...el.com
To: pbonzini@...hat.com
Cc: Shaoqin Huang <shaoqin.huang@...el.com>,
Shuah Khan <shuah@...nel.org>,
Sean Christopherson <seanjc@...gle.com>,
Andrew Jones <drjones@...hat.com>,
David Matlack <dmatlack@...gle.com>,
Marc Zyngier <maz@...nel.org>,
Oliver Upton <oupton@...gle.com>,
Ricardo Koller <ricarkol@...gle.com>,
Wei Wang <wei.w.wang@...el.com>,
Peter Gonda <pgonda@...gle.com>,
David Dunn <daviddunn@...gle.com>, kvm@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] KVM: selftests: Remove the mismatched parameter comments
From: Shaoqin Huang <shaoqin.huang@...el.com>
There are some parameter being removed in function but the parameter
comments still exist, so remove them.
Signed-off-by: Shaoqin Huang <shaoqin.huang@...el.com>
---
tools/testing/selftests/kvm/lib/kvm_util.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftests/kvm/lib/kvm_util.c
index 1665a220abcb..58fdc82b20f4 100644
--- a/tools/testing/selftests/kvm/lib/kvm_util.c
+++ b/tools/testing/selftests/kvm/lib/kvm_util.c
@@ -1336,8 +1336,6 @@ static vm_vaddr_t vm_vaddr_unused_gap(struct kvm_vm *vm, size_t sz,
* vm - Virtual Machine
* sz - Size in bytes
* vaddr_min - Minimum starting virtual address
- * data_memslot - Memory region slot for data pages
- * pgd_memslot - Memory region slot for new virtual translation tables
*
* Output Args: None
*
@@ -1423,7 +1421,6 @@ vm_vaddr_t vm_vaddr_alloc_page(struct kvm_vm *vm)
* vaddr - Virtuall address to map
* paddr - VM Physical Address
* npages - The number of pages to map
- * pgd_memslot - Memory region slot for new virtual translation tables
*
* Output Args: None
*
--
2.30.2
Powered by blists - more mailing lists