aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm/nested.c
diff options
context:
space:
mode:
authorThomas Huth <[email protected]>2023-02-08 14:01:04 +0000
committerPaolo Bonzini <[email protected]>2023-03-16 14:18:07 +0000
commitf15ba52bfabc3bc130053bd73d414d859162de91 (patch)
tree23813da81f8f634e84ceb5100f926b1b791788c9 /arch/x86/kvm/svm/nested.c
parentKVM: arm64: Limit length in kvm_vm_ioctl_mte_copy_tags() to INT_MAX (diff)
downloadkernel-f15ba52bfabc3bc130053bd73d414d859162de91.tar.gz
kernel-f15ba52bfabc3bc130053bd73d414d859162de91.zip
KVM: Standardize on "int" return types instead of "long" in kvm_main.c
KVM functions use "long" return values for functions that are wired up to "struct file_operations", but otherwise use "int" return values for functions that can return 0/-errno in order to avoid unintentional divergences between 32-bit and 64-bit kernels. Some code still uses "long" in unnecessary spots, though, which can cause a little bit of confusion and unnecessary size casts. Let's change these spots to use "int" types, too. Signed-off-by: Thomas Huth <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/nested.c')
0 files changed, 0 insertions, 0 deletions