summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2023-05-11 01:42:03 -0300
committerJoerg Roedel <jroedel@suse.de>2023-05-23 08:15:52 +0200
commit4c8ad9da05662141928fe4ed001d3775fd95221c (patch)
treeb66600c2cddc195e47b98ce63553d0da9f93f798 /scripts
parentecd60dc5d22b2ac2a68d9bf84bed0cf96b654cde (diff)
iommu: Use __iommu_group_set_domain() in iommu_change_dev_def_domain()
This is missing re-attach error handling if the attach fails, use the common code. The ugly "group->domain = prev_domain" will be cleaned in a later patch. Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/5-v5-1b99ae392328+44574-iommu_err_unwind_jgg@nvidia.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions