diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-01-29 13:16:39 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-22 21:32:29 (GMT) |
commit | 3f77ba3387bd35cac3e3c0e3807b44b9262937b7 (patch) | |
tree | fd78cedf5de838a61267c9dc0295c861e414b983 /fs/nilfs2 | |
parent | 309c25722e0880a98d950da657ca395860b67586 (diff) | |
download | linux-fsl-qoriq-3f77ba3387bd35cac3e3c0e3807b44b9262937b7.tar.xz |
KVM: return an error code in kvm_vm_ioctl_register_coalesced_mmio()
commit aac5c4226e7136c331ed384c25d5560204da10a0 upstream.
If kvm_io_bus_register_dev() fails then it returns success but it should
return an error code.
I also did a little cleanup like removing an impossible NULL test.
Fixes: 2b3c246a682c ('KVM: Make coalesced mmio use a device per zone')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions