On Fri, 30 Oct 2015 13:26:09 +0100
Christian Borntraeger <[email protected]> wrote:
> I am currently reworking this to
>
> static inline struct dma_map_ops *get_dma_ops(struct device *dev)
> {
> if (dev && dev->archdata.dma_ops)
> return dev->archdata.dma_ops;
> return &dma_noop_ops;
> }
>
>
> Which uses the dma_noop_ops for everything unless the device overrides (PCI
> does)
Yes, opt-in seems less error-prone here.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html