From: Joerg Roedel Date: Tue, 29 Jan 2013 12:41:09 +0000 (+0100) Subject: iommu: Check for valid pgsize_bitmap in iommu_map/unmap X-Git-Tag: v3.9-rc1~73^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57886518a8cdd319a04f5ea06a5f7ffcb8a93120;p=pandora-kernel.git iommu: Check for valid pgsize_bitmap in iommu_map/unmap In case the page-size bitmap is zero the code path in iommu_map and iommu_unmap is undefined. Make it defined and return -ENODEV in this case. Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed