aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2015-11-04 19:30:57 +0000
committerDavid S. Miller <[email protected]>2015-11-04 19:30:57 +0000
commitd618382ba5f1a4905db63f4980bf7b0a5826de9d (patch)
tree5bc612d222a70276b0e4d9df476b2548c1286d9e /lib/mpi/mpicoder.c
parentsparc64: use ENTRY/ENDPROC in VISsave (diff)
downloadkernel-d618382ba5f1a4905db63f4980bf7b0a5826de9d.tar.gz
kernel-d618382ba5f1a4905db63f4980bf7b0a5826de9d.zip
iommu-common: Fix error code used in iommu_tbl_range_{alloc,free}().
The value returned from iommu_tbl_range_alloc() (and the one passed in as a fourth argument to iommu_tbl_range_free) is not a DMA address, it is rather an index into the IOMMU page table. Therefore using DMA_ERROR_CODE is not appropriate. Use a more type matching error code define, IOMMU_ERROR_CODE, and update all users of this interface. Reported-by: Andre Przywara <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions