Re: [PATCH 3/3] pci-dma-compat: remove handling of NULL pdev arguments

From: Christoph Hellwig
Date: Wed Jan 10 2018 - 03:14:32 EST


On Tue, Jan 09, 2018 at 06:25:44PM -0600, Bjorn Helgaas wrote:
> It looks like "pci_free_consistent(NULL" is still used in
> drivers/net/ethernet/tundra/tsi108_eth.c.

Yikes. That one needs to pass the device is the platform dev to
the dma_map_* routines to start with, and mixing that with PCI
is pretty horrible. I'll add a conversion of that driver to the
next resend.

> > Signed-off-by: Christoph Hellwig <hch@xxxxxx>
>
> With Mauro's ack on the media/ttusb-dev patches, I could merge the
> whole series via the PCI tree?

Fine with me.