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

From: Christoph Hellwig
Date: Fri Sep 18 2020 - 01:10:35 EST


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.