commit | 19762d7095e6392b6ec56c363a6f29b2119488c2 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Thu May 28 18:41:26 2015 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Fri Jun 05 15:13:09 2015 +0200 |
tree | 898ce1663cf676e97044be39c3e82f74abdbac63 | |
parent | 269aa808a990b3fdd0e7ec9e04322284c40748c4 [diff] [blame] |
iommu: Propagate error in add_iommu_group Make sure any errors reported from the IOMMU drivers get progapated back to the IOMMU core. Signed-off-by: Joerg Roedel <jroedel@suse.de>
diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c index 755e488..9c9336a 100644 --- a/drivers/iommu/iommu.c +++ b/drivers/iommu/iommu.c
@@ -750,9 +750,7 @@ WARN_ON(dev->iommu_group); - ops->add_device(dev); - - return 0; + return ops->add_device(dev); } static int iommu_bus_notifier(struct notifier_block *nb,