We should not call dma_free_coherent if host->adma_table is NULL,
otherwise may trigger panic.
>From DMA-API.txt:
"
void
dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
dma_addr_t dma_handle)
Free a region of consistent memory you previously allocated. dev,
s
On 22 June 2015 at 09:04, Adrian Hunter wrote:
> On 22/06/15 06:41, Peng Fan wrote:
>> We should not call dma_free_coherent if host->adma_table is NULL,
>> otherwise may trigger panic.
>>
>>>From DMA-API.txt:
>> "
>> void
>> dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
>>
Hi,
On Mon, Jun 22, 2015 at 10:04:22AM +0300, Adrian Hunter wrote:
> On 22/06/15 06:41, Peng Fan wrote:
> > We should not call dma_free_coherent if host->adma_table is NULL,
> > otherwise may trigger panic.
> >
> >>From DMA-API.txt:
> > "
> > void
> > dma_free_coherent(struct device *dev, size_t
On 22/06/15 06:41, Peng Fan wrote:
> We should not call dma_free_coherent if host->adma_table is NULL,
> otherwise may trigger panic.
>
>>From DMA-API.txt:
> "
> void
> dma_free_coherent(struct device *dev, size_t size, void *cpu_addr,
> dma_addr_t dma_handle)
>
> Free a region
4 matches
Mail list logo