[RFC PATCH 2/3] dma-mapping: clear dma_ops pointer also on ARM
hch at lst.de
Fri Sep 14 06:12:04 PDT 2018
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. I'd rather remove your new generic version entirely and move
the ops clearing into the two callers.
More information about the linux-arm-kernel