Re: [PATCH] 3c59x: convert to generic DMA API

From: David Miller
Date: Sun May 13 2018 - 20:24:07 EST


From: Christoph Hellwig <hch@xxxxxx>
Date: Sat, 12 May 2018 12:16:50 +0200

> This driver supports EISA devices in addition to PCI devices, and relied
> on the legacy behavior of the pci_dma* shims to pass on a NULL pointer
> to the DMA API, and the DMA API being able to handle that. When the
> NULL forwarding broke the EISA support got broken. Fix this by converting
> to the DMA API instead of the legacy PCI shims.
>
> Fixes: 4167b2ad ("PCI: Remove NULL device handling from PCI DMA API")
> Reported-by: tedheadster <tedheadster@xxxxxxxxx>
> Tested-by: tedheadster <tedheadster@xxxxxxxxx>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Applied and queued up for -stable, thanks.