diff options
author | Thomas Huth <thuth@redhat.com> | 2023-02-08 15:01:05 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-03-16 10:18:07 -0400 |
commit | d8708b80fa0e6e21bc0c9e7276ad0bccef73b6e7 (patch) | |
tree | 996f7424da1fa03c5ef963f59954ebb2a6d44399 /arch/s390 | |
parent | f15ba52bfabc3bc130053bd73d414d859162de91 (diff) | |
download | linux-d8708b80fa0e6e21bc0c9e7276ad0bccef73b6e7.tar.gz linux-d8708b80fa0e6e21bc0c9e7276ad0bccef73b6e7.tar.bz2 linux-d8708b80fa0e6e21bc0c9e7276ad0bccef73b6e7.zip |
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>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 7039abda6d49..4c3edccb9911 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -2898,8 +2898,7 @@ static int kvm_s390_vm_mem_op(struct kvm *kvm, struct kvm_s390_mem_op *mop) } } -long kvm_arch_vm_ioctl(struct file *filp, - unsigned int ioctl, unsigned long arg) +int kvm_arch_vm_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg) { struct kvm *kvm = filp->private_data; void __user *argp = (void __user *)arg; |