summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2014-10-29 01:22:56 +0100
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:14:38 -0700
commitb62bde8e44227eb3c02bf0e42ecd72b2eca912c3 (patch)
treeb26ac82da2d25910d3efa6370ceea938dd5ecce0 /include/uapi/linux
parent93e644714da679151cb922b44abe65a5219fff30 (diff)
iommu: Improve error handling when setting bus iommu
When some part of bus_set_iommu fails it should undo any made changes and not simply leave everything as is. This includes unregistering the bus notifier in iommu_bus_init when add_iommu_group fails and also setting the bus->iommu_ops back to NULL. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions