mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-14 00:55:17 -04:00
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>
This commit is contained in:
parent
269aa808a9
commit
19762d7095
1 changed files with 1 additions and 3 deletions
|
@ -750,9 +750,7 @@ static int add_iommu_group(struct device *dev, void *data)
|
||||||
|
|
||||||
WARN_ON(dev->iommu_group);
|
WARN_ON(dev->iommu_group);
|
||||||
|
|
||||||
ops->add_device(dev);
|
return ops->add_device(dev);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int iommu_bus_notifier(struct notifier_block *nb,
|
static int iommu_bus_notifier(struct notifier_block *nb,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue