commit | 5982f0849e08fe4e4e7df5e345c4539ce9780b1b | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Feb 08 16:20:01 2017 +0000 |
committer | Paul Mackerras <paulus@ozlabs.org> | Thu Feb 09 22:06:28 2017 +1100 |
tree | 43ec2378d0de8d1312117cb818b21fcd9c669c41 | |
parent | a4a741a04814170358f470d7103f8b13ceb6fefc [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>