commit | f78947c409204138a4bc0609f98e07ef9d01ac0a | [log] [tgz] |
---|---|---|
author | Jon Derrick <jonathan.derrick@intel.com> | Tue Dec 31 13:24:20 2019 -0700 |
committer | Joerg Roedel <jroedel@suse.de> | Tue Jan 07 17:08:57 2020 +0100 |
tree | c2c30f368fedb6891a1f6b8282a6637cba81c31f | |
parent | 7d4e6ccd1fb09dbfbc49746ca82bd5c25ad4bfe4 [diff] |
iommu/vt-d: Unlink device if failed to add to group If the device fails to be added to the group, make sure to unlink the reference before returning. Signed-off-by: Jon Derrick <jonathan.derrick@intel.com> Fixes: 39ab9555c2411 ("iommu: Add sysfs bindings for struct iommu_device") Acked-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>