git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315786e
)
iommu: Do more input validation in iommu_map_sg()
author
Joerg Roedel
<jroedel@suse.de>
Tue, 4 Nov 2014 13:53:51 +0000
(14:53 +0100)
committer
Joerg Roedel
<jroedel@suse.de>
Tue, 4 Nov 2014 13:53:51 +0000
(14:53 +0100)
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>
drivers/iommu/iommu.c
patch
|
blob
|
history
diff --cc
drivers/iommu/iommu.c
Simple merge