commit | 2c9f1af528a4581e8ef8590108daa3c3df08dd5a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Thu Feb 09 16:01:58 2017 +0000 |
committer | Joerg Roedel <jroedel@suse.de> | Fri Feb 10 15:09:11 2017 +0100 |
tree | 53269e4f52fb79cb2c9fee764a4986283b38107b | |
parent | a514a6e241f051dd8a4a00a456382dec0b1af21b [diff] |
vfio/type1: Fix error return code in vfio_iommu_type1_attach_group() Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 5d704992189f ("vfio/type1: Allow transparent MSI IOVA allocation") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>