commit | e85bb5d4d1d5ef55cf4fbb4da5dda67d2bbacc5c | [log] [tgz] |
---|---|---|
author | Jiang Liu <jiang.liu@linux.intel.com> | Wed Feb 19 14:07:27 2014 +0800 |
committer | Joerg Roedel <joro@8bytes.org> | Tue Mar 04 17:51:01 2014 +0100 |
tree | 62c55a6b27f820677c758ace5533bd7cf095db7a | |
parent | 745f2586e78efc5c226a60cfc8e7fbd735b1c856 [diff] |
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>