Re: [PATCH 0/4] dma-mapping: Constify dma_attrs

From: Christoph Hellwig
Date: Tue May 24 2016 - 05:15:02 EST

I think this is moving into the wrong direction. The right fix here
is to get of all the dma_attrs boilerplate code and just replace it
with a simple enum dma_flags. This would simplify both the callers
and most importantly the wrappers for the flag-less versions a lot.