Re: [PATCH net] net/sonic: Use dma_mapping_error()
From: David Miller
Date: Thu May 31 2018 - 14:18:22 EST
From: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 May 2018 13:03:51 +1000
> With CONFIG_DMA_API_DEBUG=y, calling sonic_open() produces the
> message, "DMA-API: device driver failed to check map error".
> Add the missing dma_mapping_error() call.
>
> Cc: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
> Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>
Applied, thanks.