iommu/dma: Cleanup variable naming in iommu_dma_alloc
authorRobin Murphy <robin.murphy@arm.com>
Mon, 20 May 2019 07:29:41 +0000 (09:29 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 15:31:11 +0000 (17:31 +0200)
commit9ad5d6eddcb0fa7c227c0612011221e715e8ef49
tree5fdf37a8617dc3130b11a713f43f22fcbd8154c7
parent8553f6e65240ea0c2ae970eeba18e4d3a47230aa
iommu/dma: Cleanup variable naming in iommu_dma_alloc

Most importantly clear up the size / iosize confusion.  Also rename addr
to cpu_addr to match the surrounding code and make the intention a little
more clear.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
[hch: split from a larger patch]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c