diff options
| author | Chintan Pandya <cpandya@codeaurora.org> | 2015-03-16 15:08:16 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:11:58 -0700 |
| commit | 260963b57fbba2f6e45a7b7445c635434a56ad72 (patch) | |
| tree | c10ce427d6476a8d4eab803bdc25036cd75404e0 /include/linux/input-polldev.h | |
| parent | eadb730a2d0bff616d60368778e087ae6e4c3ec3 (diff) | |
arm64: dma-mapping: use correct type for iova in arm_iommu_unmap_sg
IOMMU virtual addresses use the dma_addr_t type since they can be up to
64-bits. We're currently using an `unsigned int' to store our IOVA in
arm_iommu_unmap_sg, which could result in truncation. Use the correct
type for an I/O virtual address: dma_addr_t.
This was previously fixed for arm_iommu_map_sg in
[02454d7f9feeb: "arm64: dma-mapping: use correct type for iova"].
Make the same fix in arm_iommu_unmap_sg.
Change-Id: Ib22a9600f33e6fa155812b08d67d62f72af0ad8e
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
Diffstat (limited to 'include/linux/input-polldev.h')
0 files changed, 0 insertions, 0 deletions
