Re: [RFC PATCH 2/3] dma-mapping: clear dma_ops pointer also on ARM

2018-09-14 Thread Christoph Hellwig
On Thu, Sep 13, 2018 at 05:17:15PM +0200, Wolfram Sang wrote: > The generic fallback of arch_teardown_dma_ops() clears the dma_ops > pointer but the ARM specific version does not. Rename the generic one, > so it can be called from ARM specific one, too. This will ensure > consistent behaviour. Hmm

[RFC PATCH 2/3] dma-mapping: clear dma_ops pointer also on ARM

2018-09-13 Thread Wolfram Sang
The generic fallback of arch_teardown_dma_ops() clears the dma_ops pointer but the ARM specific version does not. Rename the generic one, so it can be called from ARM specific one, too. This will ensure consistent behaviour. Signed-off-by: Wolfram Sang --- arch/arm/mm/dma-mapping.c | 6 +++---