Re: [PATCH] iommu-common: Fix error code used in iommu_tbl_range_{alloc,free}().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On (11/04/15 14:34), David Miller wrote:
> 
> 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.

Acked-by: Sowmini Varadhan <sowmini.varadhan@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux