summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-02-08 16:20:01 +0000
committerPaul Mackerras <paulus@ozlabs.org>2017-02-09 22:06:28 +1100
commit5982f0849e08fe4e4e7df5e345c4539ce9780b1b (patch)
tree43ec2378d0de8d1312117cb818b21fcd9c669c41 /arch/x86/kvm/lapic.c
parenta4a741a04814170358f470d7103f8b13ceb6fefc (diff)
KVM: PPC: Book 3S: Fix error return in kvm_vm_ioctl_create_spapr_tce()
Fix to return error code -ENOMEM from the memory alloc error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/x86/kvm/lapic.c')
0 files changed, 0 insertions, 0 deletions