diff options
author | Jon Derrick <jonathan.derrick@intel.com> | 2019-12-31 13:24:20 -0700 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-01-07 17:08:57 +0100 |
commit | f78947c409204138a4bc0609f98e07ef9d01ac0a (patch) | |
tree | c2c30f368fedb6891a1f6b8282a6637cba81c31f /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions