Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment