summaryrefslogtreecommitdiffstats
path: root/drivers/dca
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2014-11-04 14:53:51 +0100
committerJoerg Roedel <jroedel@suse.de>2014-11-04 14:53:51 +0100
commit38ec010d9b04ed94845f8ff6f10d33eb6bbfe180 (patch)
tree7e54787fbc0961a02707f38e5b39bfa2f22605c4 /drivers/dca
parent315786ebbf4ad6552b6fd8e0e7b2ea220fcbfdbd (diff)
downloadlinux-38ec010d9b04ed94845f8ff6f10d33eb6bbfe180.tar.bz2
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 'drivers/dca')
0 files changed, 0 insertions, 0 deletions