Skip to content
Commit 5982f084 authored by Wei Yongjun's avatar Wei Yongjun Committed by Paul Mackerras
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
parent a4a741a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment