Re: [PATCH 3/4] ARM/dma-mapping: don't handle NULL devices in dma-direct.h

Christoph Hellwig
2020-09-18T05:10:36Z

On Thu, Sep 17, 2020 at 07:50:10PM +0100, Russell King - ARM Linux admin wrote:
> On Thu, Sep 17, 2020 at 07:32:28PM +0200, Christoph Hellwig wrote:
> > The DMA API removed support for not passing in a device a long time
> > ago, so remove the NULL checks.
>
> What happens with ISA devices?

For actual drivers they've been switched to struct isa_driver, which
provides a struct device. For some of the special case like the
arch/arm/kernel/dma-isa.c we now use static struct device instances.