Skip to content
Commit d2cbb83c authored by Jon Derrick's avatar Jon Derrick Committed by Greg Kroah-Hartman
Browse files

iommu: Remove device link to group on failure



commit 7d4e6ccd upstream.

This adds the missing teardown step that removes the device link from
the group when the device addition fails.

Signed-off-by: default avatarJon Derrick <jonathan.derrick@intel.com>
Fixes: 797a8b4d ("iommu: Handle default domain attach failure")
Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 44ce3acf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment