Loading arch/arm64/mm/dma-mapping.c +1 −1 Original line number Diff line number Diff line Loading @@ -774,9 +774,9 @@ static void *__iommu_alloc_attrs(struct device *dev, size_t size, prot, __builtin_return_address(0)); if (addr) { memset(addr, 0, size); if (!coherent) __dma_flush_area(page_to_virt(page), iosize); memset(addr, 0, size); } else { iommu_dma_unmap_page(dev, *handle, iosize, 0, attrs); dma_release_from_contiguous(dev, page, Loading Loading
arch/arm64/mm/dma-mapping.c +1 −1 Original line number Diff line number Diff line Loading @@ -774,9 +774,9 @@ static void *__iommu_alloc_attrs(struct device *dev, size_t size, prot, __builtin_return_address(0)); if (addr) { memset(addr, 0, size); if (!coherent) __dma_flush_area(page_to_virt(page), iosize); memset(addr, 0, size); } else { iommu_dma_unmap_page(dev, *handle, iosize, 0, attrs); dma_release_from_contiguous(dev, page, Loading