Re: [PATCH -mm] dma-mapping.h: add the dma_unmap state API

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: FUJITA Tomonori
Date: Friday, February 12, 2010 - 7:49 pm

On Fri, 12 Feb 2010 11:51:57 -0800
Andrew Morton <akpm@linux-foundation.org> wrote:


Yeah, I know. PCI-DMA-mapping.txt says:

NOTE: DO NOT put a semicolon at the end of the DECLARE_*() macro.


But there are some other DECLARE_ macros that don't have the
semicolons so users could be easily confused.

#define DEFINE_DMA_MAP_ADDR(ADDR_NAME) dma_addr_t ADDR_NAME

looks better?



I plan to replace these PCI API with the new generic API so I can take
care of them together.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -mm] dma-mapping.h: add the dma_unmap state API, FUJITA Tomonori, (Thu Feb 11, 11:04 pm)
Re: [PATCH -mm] dma-mapping.h: add the dma_unmap state API, Andrew Morton, (Fri Feb 12, 12:51 pm)
Re: [PATCH -mm] dma-mapping.h: add the dma_unmap state API, FUJITA Tomonori, (Fri Feb 12, 7:49 pm)
Re: [PATCH -mm] dma-mapping.h: add the dma_unmap state API, FUJITA Tomonori, (Fri Feb 12, 11:13 pm)