dma-mapping: don't store redundant offsets
authorRobin Murphy <robin.murphy@arm.com>
Fri, 24 Nov 2023 18:10:03 +0000 (18:10 +0000)
committerChristoph Hellwig <hch@lst.de>
Fri, 15 Dec 2023 11:32:42 +0000 (12:32 +0100)
commit4ad4c1f394b84f9941a10aa8aaf11102478a390b
treedd8752f43b26d9a042f2124b2d1b7551e0a83d95
parent3f7168591ebf7bbdb91797d02b1afaf00a4289b1
dma-mapping: don't store redundant offsets

A bus_dma_region necessarily stores both CPU and DMA base addresses for
a range, so there's no need to also store the difference between them.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/acpi/scan.c
drivers/of/address.c
include/linux/dma-direct.h
kernel/dma/direct.c