projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269aa80
)
iommu: Propagate error in add_iommu_group
author
Joerg Roedel
<jroedel@suse.de>
Thu, 28 May 2015 16:41:26 +0000
(18:41 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Fri, 5 Jun 2015 13:13:09 +0000
(15:13 +0200)
Make sure any errors reported from the IOMMU drivers get
progapated back to the IOMMU core.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/iommu.c
b/drivers/iommu/iommu.c
index 755e4889046a7a5884b7171595ac320d2c0adcff..9c9336a923cd7d8f0730225f0fa128b6c72d6d6d 100644
(file)
--- a/
drivers/iommu/iommu.c
+++ b/
drivers/iommu/iommu.c
@@
-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,