diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2023-05-11 01:42:02 -0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-05-23 08:15:52 +0200 |
commit | ecd60dc5d22b2ac2a68d9bf84bed0cf96b654cde (patch) | |
tree | 0e7e267c7e63fe3975c199dcb97ad89f4a92d50f /virt/lib | |
parent | dcf40ed3a20d727be054c4a20db47b32cb5036d4 (diff) | |
download | lwn-ecd60dc5d22b2ac2a68d9bf84bed0cf96b654cde.tar.gz lwn-ecd60dc5d22b2ac2a68d9bf84bed0cf96b654cde.zip |
iommu: Use __iommu_group_set_domain() for __iommu_attach_group()
The error recovery here matches the recovery inside
__iommu_group_set_domain(), so just use it directly.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.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/4-v5-1b99ae392328+44574-iommu_err_unwind_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'virt/lib')
0 files changed, 0 insertions, 0 deletions