Revision f78947c409204138a4bc0609f98e07ef9d01ac0a authored by Jon Derrick on 31 December 2019, 20:24:20 UTC, committed by Joerg Roedel on 07 January 2020, 16:08:57 UTC
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>
1 parent 7d4e6cc
History

back to top