Re: [PATCH] ioat: Fix DMA memory sync direction correct flag

2012-10-28 Thread Vinod Koul
On Thu, 2012-10-25 at 10:22 -0600, Shuah Khan wrote: > ioat does DMA memory sync with DMA_TO_DEVICE direction on a buffer allocated > for DMA_FROM_DEVICE dma, resulting in the following warning from dma debug. > Fixed the dma_sync_single_for_device() call to use the correct direction. Applied, than

[PATCH] ioat: Fix DMA memory sync direction correct flag

2012-10-25 Thread Shuah Khan
ioat does DMA memory sync with DMA_TO_DEVICE direction on a buffer allocated for DMA_FROM_DEVICE dma, resulting in the following warning from dma debug. Fixed the dma_sync_single_for_device() call to use the correct direction. [ 226.288947] WARNING: at lib/dma-debug.c:990 check_sync+0x132/0x550()