KVM: Change return type of kvm_arch_vm_ioctl() to "int"
authorThomas Huth <thuth@redhat.com>
Wed, 8 Feb 2023 14:01:05 +0000 (15:01 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Mar 2023 14:18:07 +0000 (10:18 -0400)
commitd8708b80fa0e6e21bc0c9e7276ad0bccef73b6e7
tree996f7424da1fa03c5ef963f59954ebb2a6d44399
parentf15ba52bfabc3bc130053bd73d414d859162de91
KVM: Change return type of kvm_arch_vm_ioctl() to "int"

All kvm_arch_vm_ioctl() implementations now only deal with "int"
types as return values, so we can change the return type of these
functions to use "int" instead of "long".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Anup Patel <anup@brainfault.org>
Message-Id: <20230208140105.655814-7-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/arm64/kvm/arm.c
arch/mips/kvm/mips.c
arch/powerpc/kvm/powerpc.c
arch/riscv/kvm/vm.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h