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

Skip to content
Commit 59203379 authored by Nicholas Krause's avatar Nicholas Krause Committed by Joerg Roedel
Browse files

iommu/vt-d: Check the return value of iommu_device_create()



This adds the proper check to alloc_iommu to make sure that
the call to iommu_device_create has completed successfully
and if not return the error code to the caller after freeing
up resources allocated previously.

Signed-off-by: default avatarNicholas Krause <xerofoify@gmail.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 16830985
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