diff options
author | Robin Murphy <[email protected]> | 2019-12-11 18:33:26 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-12-17 11:17:28 +0100 |
commit | bd036d2fdd374fa252abfc221e1a1280eee42f89 (patch) | |
tree | 6fc50ea3610030c64a4dac9139981c3c0b1e9f81 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 472d26df5e8075eda677b6be730e0fbf434ff2a8 (diff) |
iommu/dma: Rationalise types for DMA masks
Since iommu_dma_alloc_iova() combines incoming masks with the u64 bus
limit, it makes more sense to pass them around in their native u64
rather than converting to dma_addr_t early. Do that, and resolve the
remaining type discrepancy against the domain geometry with a cheeky
cast to keep things simple.
Signed-off-by: Robin Murphy <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Tested-by: Nathan Chancellor <[email protected]> # build
Reviewed-by: Nicolas Saenz Julienne <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions