From: Jiang Liu Date: Wed, 19 Feb 2014 06:07:27 +0000 (+0800) Subject: iommu/vt-d: Free resources if failed to create domain for PCIe endpoint X-Git-Tag: v3.15-rc1~70^2^6~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e85bb5d4d1d5ef55cf4fbb4da5dda67d2bbacc5c;p=pandora-kernel.git 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 Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed