diff options
author | Joerg Roedel <joro@8bytes.org> | 2013-01-29 16:41:09 +0400 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-02-06 13:47:05 +0400 |
commit | 57886518a8cdd319a04f5ea06a5f7ffcb8a93120 (patch) | |
tree | 85de286abc27f32dd18ad4f9eb5488288e98e681 /include/linux/iommu.h | |
parent | a8b8a88a9e3042d41326c854272c881664acba1c (diff) | |
download | linux-57886518a8cdd319a04f5ea06a5f7ffcb8a93120.tar.xz |
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 <joro@8bytes.org>
Diffstat (limited to 'include/linux/iommu.h')
0 files changed, 0 insertions, 0 deletions