KVM: x86/mmu: fix an incorrect comment in kvm_mmu_new_pgd()
authorWei Liu <wei.liu@kernel.org>
Mon, 28 Nov 2022 21:47:09 +0000 (21:47 +0000)
committerSean Christopherson <seanjc@google.com>
Tue, 24 Jan 2023 18:05:45 +0000 (10:05 -0800)
commita7e48ef77ff27ba2647edec271b302804a0b14c3
tree9eb757368dd9f7720c4e541529b682d052e0807e
parent9e3fbdfd9b894f15c52965bbc1696a65d377f3cd
KVM: x86/mmu: fix an incorrect comment in kvm_mmu_new_pgd()

There is no function named kvm_mmu_ensure_valid_pgd().

Fix the comment and remove the pair of braces to conform to Linux kernel
coding style.

Signed-off-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221128214709.224710-1-wei.liu@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/mmu/mmu.c