Re: [PATCH] DMA: nbpfaxi: check for errors from dma_map_single

2016-10-18 Thread Vinod Koul
On Wed, Oct 05, 2016 at 04:51:32PM +0200, Jesper Nilsson wrote: > Check for error return from dma_map_single. > Move the addition of the node to the list to after we check > for error, so we can reuse the list in unmapping. > > Found by enabling CONFIG_DMA_API_DEBUG. Sorry this doesnt apply for

Re: [PATCH] DMA: nbpfaxi: check for errors from dma_map_single

2016-10-18 Thread Vinod Koul
On Wed, Oct 05, 2016 at 04:51:32PM +0200, Jesper Nilsson wrote: > Check for error return from dma_map_single. > Move the addition of the node to the list to after we check > for error, so we can reuse the list in unmapping. > > Found by enabling CONFIG_DMA_API_DEBUG. Sorry this doesnt apply for