]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Drop type input from kvm_put_guest
authorAndrew Jones <drjones@redhat.com>
Tue, 4 Aug 2020 17:06:01 +0000 (19:06 +0200)
committerMarc Zyngier <maz@kernel.org>
Fri, 21 Aug 2020 13:04:14 +0000 (14:04 +0100)
commitff90f7aa2486849633c187170649951a0c96c466
treeb5b89b639c50992b6f10cd3dd23eace72238db65
parent3c56cbc219506e4ef55c67c271841276e36d1434
KVM: arm64: Drop type input from kvm_put_guest

We can use typeof() to avoid the need for the type input.

Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200804170604.42662-4-drjones@redhat.com
arch/arm64/kvm/pvtime.c
include/linux/kvm_host.h