[PATCH v6 14/22] KVM: x86/mmu: Pass const memslot to rmap_add()
seanjc at google.com
Fri Jun 17 08:30:44 PDT 2022
On Mon, May 16, 2022, David Matlack wrote:
Please restate the shortlog in the changelog, it doesn't require much more typing
and means readers don't have to mentally preserve context across "paragraphs".
Constify rmap_add()'s @slot parameter, the is just passed on to
gfn_to_rmap(), which takes a const memslot.
> rmap_add() only uses the slot to call gfn_to_rmap() which takes a const
> No functional change intended.
> Reviewed-by: Ben Gardon <bgardon at google.com>
> Signed-off-by: David Matlack <dmatlack at google.com>
Reviewed-by: Sean Christopherson <seanjc at google.com>
More information about the kvm-riscv