]> git.baikalelectronics.ru Git - kernel.git/commit
arm: remove the mapping_error dma_map_ops method
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Nov 2018 17:57:36 +0000 (18:57 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 14:56:37 +0000 (06:56 -0800)
commitda9eab9c71e9a9f49d8fcfb142e0a05d496c940e
tree7ee914059ad82d75ea482e5584134189ce61950e
parentbb6103542d7183289c1994caf0efbda8b878e63e
arm: remove the mapping_error dma_map_ops method

Arm already returns (~(dma_addr_t)0x0) on mapping failures, so we can
switch over to returning DMA_MAPPING_ERROR and let the core dma-mapping
code handle the rest.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/common/dmabounce.c
arch/arm/include/asm/dma-iommu.h
arch/arm/mm/dma-mapping.c