diff options
| author | Joerg Roedel <jroedel@suse.de> | 2014-11-04 14:53:51 +0100 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:14:37 -0700 |
| commit | 93e644714da679151cb922b44abe65a5219fff30 (patch) | |
| tree | 7451bd921e94d4bc0709fc84c4373b4b1f90c4b0 /include/uapi/linux | |
| parent | 56384cba239eb378c663f853352bcaec97da4817 (diff) | |
iommu: Do more input validation in iommu_map_sg()
The IOMMU-API works on page boundarys, unlike the DMA-API
which can work with sub-page buffers. The sg->offset
field does not make sense on the IOMMU level, so force it to
be 0. Do some error-path consolidation while at it.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
