Re: [PATCH] dma: remove bad_dma_ops to fix build fail

From: Christoph Hellwig
Date: Mon Jun 13 2016 - 03:59:29 EST


On Sun, Jun 12, 2016 at 02:32:24PM -0700, Jerry Snitselaar wrote:
> Ccing Christoph since his commit introduced bad_dma_ops, and Simran
> who wrote that cygnus code.
>
> I'm thinking that is there to complain loudly when someone is trying
> to use dma without HAS_DMA, correct Christoph?

Yes. Note that I just refactored the code - before my commit
we simply had prototypes for the various DMA API functions that
never had an implementation to back them.