Home
last modified time | relevance | path

Searched hist:"67 c48662e2b5539f0ba3d4151f4e7e84c9871324" (Results 1 – 4 of 4) sorted by relevance

/linux/arch/powerpc/kvm/
H A Dbook3s_64_vio.cdiff 67c48662e2b5539f0ba3d4151f4e7e84c9871324 Wed Feb 08 15:01:00 CET 2023 Thomas Huth <thuth@redhat.com> KVM: PPC: Standardize on "int" return types in the powerpc KVM code

Most functions that are related to kvm_arch_vm_ioctl() already use
"int" as return type to pass error values back to the caller. Some
outlier functions use "long" instead for no good reason (they do not
really require long values here). Let's standardize on "int" here to
avoid casting the values back and forth between the two types.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230208140105.655814-2-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dbook3s_pr.cdiff 67c48662e2b5539f0ba3d4151f4e7e84c9871324 Wed Feb 08 15:01:00 CET 2023 Thomas Huth <thuth@redhat.com> KVM: PPC: Standardize on "int" return types in the powerpc KVM code

Most functions that are related to kvm_arch_vm_ioctl() already use
"int" as return type to pass error values back to the caller. Some
outlier functions use "long" instead for no good reason (they do not
really require long values here). Let's standardize on "int" here to
avoid casting the values back and forth between the two types.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230208140105.655814-2-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dbook3s_64_mmu_hv.cdiff 67c48662e2b5539f0ba3d4151f4e7e84c9871324 Wed Feb 08 15:01:00 CET 2023 Thomas Huth <thuth@redhat.com> KVM: PPC: Standardize on "int" return types in the powerpc KVM code

Most functions that are related to kvm_arch_vm_ioctl() already use
"int" as return type to pass error values back to the caller. Some
outlier functions use "long" instead for no good reason (they do not
really require long values here). Let's standardize on "int" here to
avoid casting the values back and forth between the two types.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230208140105.655814-2-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/linux/arch/powerpc/include/asm/
H A Dkvm_ppc.hdiff 67c48662e2b5539f0ba3d4151f4e7e84c9871324 Wed Feb 08 15:01:00 CET 2023 Thomas Huth <thuth@redhat.com> KVM: PPC: Standardize on "int" return types in the powerpc KVM code

Most functions that are related to kvm_arch_vm_ioctl() already use
"int" as return type to pass error values back to the caller. Some
outlier functions use "long" instead for no good reason (they do not
really require long values here). Let's standardize on "int" here to
avoid casting the values back and forth between the two types.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230208140105.655814-2-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>