Re: [PATCH] dma-mapping.h: Preserve unmap info for CONFIG_DMA_API_DEBUG

2016-09-21 Thread Robin Murphy
On 20/09/16 16:58, Andrey Smirnov wrote: > When CONFIG_DMA_API_DEBUG is enabled we need to preserve unmapping > address even if "unmap" is a no-op for our architecutre because we need > debug_dma_unmap_page() to correctly cleanup all of the debug > bookkeeping. Failing to do so results in a false p

[PATCH] dma-mapping.h: Preserve unmap info for CONFIG_DMA_API_DEBUG

2016-09-20 Thread Andrey Smirnov
When CONFIG_DMA_API_DEBUG is enabled we need to preserve unmapping address even if "unmap" is a no-op for our architecutre because we need debug_dma_unmap_page() to correctly cleanup all of the debug bookkeeping. Failing to do so results in a false positive warnings about previously mapped areas ne