Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19762d70 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

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: default avatarJoerg Roedel <jroedel@suse.de>
parent 269aa808
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -750,9 +750,7 @@ static int add_iommu_group(struct device *dev, void *data)

	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,