Skip to content
Snippets Groups Projects
Commit bc847454 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/vt-d: Fix up error handling in alloc_iommu


Only check for error when iommu->iommu_dev has been assigned
and only assign drhd->iommu when the function can't fail
anymore.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 59203379
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment