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

Re: [PATCH] dma-mapping.h

2007-03-02 Thread Andrew Morton
On Fri, 02 Mar 2007 19:43:34 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: > Gary Zambrano wrote: > > Added dma_sync_single_range_for_cpu/device to dma-mapping.h in asm-arm & > > asm-avr32 to call dma_sync_single_for_cpu/device. This patch enables b44 > > to compile on systems with these cpus. > >

Re: [PATCH] dma-mapping.h

2007-03-02 Thread Jeff Garzik
Gary Zambrano wrote: Added dma_sync_single_range_for_cpu/device to dma-mapping.h in asm-arm & asm-avr32 to call dma_sync_single_for_cpu/device. This patch enables b44 to compile on systems with these cpus. This patch was created with the assumption that another method of dma_sync_single_range_for

[PATCH] dma-mapping.h

2007-02-16 Thread Gary Zambrano
Added dma_sync_single_range_for_cpu/device to dma-mapping.h in asm-arm & asm-avr32 to call dma_sync_single_for_cpu/device. This patch enables b44 to compile on systems with these cpus. This patch was created with the assumption that another method of dma_sync_single_range_for_cpu/device does not ex

[PATCH] dma-mapping.h stubs fix

2007-01-30 Thread Al Viro
do { } while(0) is not a good imitation of function returning void; use ((void)0) instead. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- include/asm-alpha/dma-mapping.h |6 +++--- include/asm-powerpc/dma-mapping.h | 12 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff