From: Will Deacon Date: Fri, 8 Nov 2013 15:08:06 +0000 (+0000) Subject: iommu/arm-smmu: remove potential NULL dereference on mapping path X-Git-Tag: v3.13-rc4~30^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5552ecdbf9fb4f7608c1d7933a8baafcfa1bb337;p=pandora-kernel.git iommu/arm-smmu: remove potential NULL dereference on mapping path When handling mapping requests, we dereference the SMMU domain before checking that it is NULL. This patch fixes the issue by removing the check altogether, since we don't actually use the leaf_smmu when creating mappings. Reported-by: Dan Carpenter Signed-off-by: Will Deacon --- Reading git-diff-tree failed