Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 57886518 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

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: default avatarJoerg Roedel <joro@8bytes.org>
parent a8b8a88a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment