Re: [PATCH 09/18] sgiwd93: convert to dma_alloc_noncoherent

From: Thomas Bogendoerfer
Date: Tue Sep 22 2020 - 06:56:28 EST


On Tue, Sep 15, 2020 at 05:51:13PM +0200, Christoph Hellwig wrote:
> Use the new non-coherent DMA API including proper ownership transfers.
> This also means we can allocate the memory as DMA_TO_DEVICE instead
> of bidirectional.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/scsi/sgiwd93.c | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)

Tested-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]