aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/amd_iommu_init.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-02-09 16:01:58 +0000
committerJoerg Roedel <jroedel@suse.de>2017-02-10 15:09:11 +0100
commit2c9f1af528a4581e8ef8590108daa3c3df08dd5a (patch)
tree53269e4f52fb79cb2c9fee764a4986283b38107b /drivers/iommu/amd_iommu_init.c
parentiommu: Fix static checker warning in iommu_insert_device_resv_regions (diff)
downloadlinux-dev-2c9f1af528a4581e8ef8590108daa3c3df08dd5a.tar.xz
linux-dev-2c9f1af528a4581e8ef8590108daa3c3df08dd5a.zip
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>
Diffstat (limited to 'drivers/iommu/amd_iommu_init.c')
0 files changed, 0 insertions, 0 deletions