Re: [RESEND PATCH] ioatdma, fix dma mapping errors

From: Vinod Koul
Date: Tue Dec 09 2014 - 04:24:14 EST


On Thu, Oct 23, 2014 at 07:38:29AM -0400, Prarit Bhargava wrote:
> This happens because the current ioatdma DMA test code does not check the return
> value of dma_map_page() calls with dma_mapping_error(). In addition, it was
> noticed that mapping for the variable dest_dma is free'd before the last use.
>
> This patch fixes these errors by initializing the dma_srcs[] array and checking
> the returns with dma_mapping_error().
Please make sure you use the right subsystem name

Applied now, thanks

--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/