Skip to contentSkip to conversation

KVM: x86/mmu: Fix kdoc of __handle_changed_spte

PATCH Applied Kai Huang 2 participants 2 messages May 3, 2021

Subsystems (3)
lore
Share & tools
lore

Kai Huang

author
#0 lore raw

PATCH 1/1 KVM: x86/mmu: Fix kdoc of __handle_changed_spte

The function name of kdoc of __handle_changed_spte() should be itself, rather than handle_changed_spte(). Fix the typo.

---
 arch/x86/kvm/mmu/tdp_mmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/mmu/tdp_mmu.c +1 -1
index 83cbdbe5de5a..ff0ae030004d 100644
@@ -388,7 +388,7 @@ static void handle_removed_tdp_mmu_page(struct kvm *kvm, tdp_ptep_t pt,
 }
 
 /**
- * handle_changed_spte - handle bookkeeping associated with an SPTE change
+ * __handle_changed_spte - handle bookkeeping associated with an SPTE change
  * @kvm: kvm instance
  * @as_id: the address space of the paging structure the SPTE was a part of
  * @gfn: the base GFN that was mapped by the SPTE
Signature · 1 line
2.31.1
maintainer Applied
#1 lore raw
Quoted 14 lines · Kai Huang

The function name of kdoc of __handle_changed_spte() should be itself, rather than handle_changed_spte(). Fix the typo.

---
  arch/x86/kvm/mmu/tdp_mmu.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/mmu/tdp_mmu.c +0 -0
index 83cbdbe5de5a..ff0ae030004d 100644

arch/x86/kvm/mmu/tdp_mmu.c static void handle_removed_tdp_mmu_page(struct kvm *kvm, tdp_ptep_t pt, · line 394

Quoted 8 lines
arch/x86/kvm/mmu/tdp_mmu.c +1 -1
@@ -388,7 +388,7 @@ static void handle_removed_tdp_mmu_page(struct kvm *kvm, tdp_ptep_t pt,
  }
 
  /**
- * handle_changed_spte - handle bookkeeping associated with an SPTE change
+ * __handle_changed_spte - handle bookkeeping associated with an SPTE change
   * @kvm: kvm instance
   * @as_id: the address space of the paging structure the SPTE was a part of
   * @gfn: the base GFN that was mapped by the SPTE

Queued, thanks.

Paolo