diff options
author | 2014-02-19 14:07:27 +0800 | |
---|---|---|
committer | 2014-03-04 17:51:01 +0100 | |
commit | e85bb5d4d1d5ef55cf4fbb4da5dda67d2bbacc5c (patch) | |
tree | 62c55a6b27f820677c758ace5533bd7cf095db7a /tools/perf/scripts/python/syscall-counts.py | |
parent | iommu/vt-d: Simplify function get_domain_for_dev() (diff) | |
download | linux-dev-e85bb5d4d1d5ef55cf4fbb4da5dda67d2bbacc5c.tar.xz linux-dev-e85bb5d4d1d5ef55cf4fbb4da5dda67d2bbacc5c.zip |
iommu/vt-d: Free resources if failed to create domain for PCIe endpoint
Enhance function get_domain_for_dev() to release allocated resources
if failed to create domain for PCIe endpoint, otherwise the allocated
resources will get lost.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions