From: Joerg Roedel Date: Tue, 8 Jul 2014 12:55:10 +0000 (+0200) Subject: iommu/amd: Drop pasid_state reference in ppr_notifer error path X-Git-Tag: omap-for-v3.17/fixes-against-rc2~158^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc88db7ee9f9a0a850dcee5738031f888ba124b7;p=pandora-kernel.git iommu/amd: Drop pasid_state reference in ppr_notifer error path In case we are not able to allocate a fault structure a reference to the pasid_state will be leaked. Fix that by dropping the reference in the error path in case we hold one. Signed-off-by: Joerg Roedel Tested-by: Oded Gabbay --- Reading git-diff-tree failed