iommu/dma: Fix NEED_SG_DMA_LENGTH dependency
Robin Murphy
reviewerPATCH 1/1 iommu/dma: Fix NEED_SG_DMA_LENGTH dependency
IOMMU_DMA does indeed depend on scatterlists having a DMA length, but the NEED_SG_DMA_LENGTH symbol should be selected, not depended upon.
Reported-by Arnd Bergmann <[email protected]>
Signed-off-by Robin Murphy <[email protected]>
--- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/Kconfig +1 -1
@@ -70,9 +70,9 @@ config OF_IOMMU # IOMMU-agnostic DMA-mapping layer config IOMMU_DMA bool - depends on NEED_SG_DMA_LENGTH select IOMMU_API select IOMMU_IOVA + select NEED_SG_DMA_LENGTH config FSL_PAMU bool "Freescale IOMMU support"
Signature · 1 line
2.7.2.333.g70bd996.dirty
PATCH 1/1 iommu/dma: Fix NEED_SG_DMA_LENGTH dependency
Quoted 6 lines · On Monday 29 February 2016 11:13:39 Robin Murphy wrote:
IOMMU_DMAdoes indeed depend on scatterlists having a DMA length, but theNEED_SG_DMA_LENGTHsymbol should be selected, not depended upon.Reported-by Arnd Bergmann <[email protected]>Signed-off-by Robin Murphy <[email protected]>
Acked-by Arnd Bergmann <[email protected]>
PATCH 1/1 iommu/dma: Fix NEED_SG_DMA_LENGTH dependency
In reply to Robin MurphyQuoted 8 lines · Robin Murphy
IOMMU_DMAdoes indeed depend on scatterlists having a DMA length, but theNEED_SG_DMA_LENGTHsymbol should be selected, not depended upon.Reported-by Arnd Bergmann <[email protected]>Signed-off-by Robin Murphy <[email protected]>--- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.