From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net ([184.105.139.130]:51482 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbeENAYA (ORCPT ); Sun, 13 May 2018 20:24:00 -0400 Date: Sun, 13 May 2018 20:23:59 -0400 (EDT) Message-Id: <20180513.202359.1371810410522802833.davem@davemloft.net> To: hch@lst.de Cc: netdev@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, tedheadster@gmail.com Subject: Re: [PATCH] 3c59x: convert to generic DMA API From: David Miller In-Reply-To: <20180512101650.1693-1-hch@lst.de> References: <20180512101650.1693-1-hch@lst.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Sender: linux-pci-owner@vger.kernel.org List-ID: From: Christoph Hellwig 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 > Tested-by: tedheadster > Signed-off-by: Christoph Hellwig Applied and queued up for -stable, thanks.