diff options
author | 2016-01-04 18:27:57 -0500 | |
---|---|---|
committer | 2016-01-07 13:43:56 +0100 | |
commit | 592033790e8276f7038efb480871598648464a01 (patch) | |
tree | 375165f1ab8b06e8071952edcab9f23b303a9300 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.4-rc8 (diff) | |
download | linux-dev-592033790e8276f7038efb480871598648464a01.tar.xz linux-dev-592033790e8276f7038efb480871598648464a01.zip |
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: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions