From: Christoph Hellwig Subject: Re: [PATCH] dma-mapping: remove an unnecessary NULL check Date: Thu, 25 Apr 2019 16:18:32 +0200 Message-ID: <20190425141832.GA16643@lst.de> References: <20190424142437.GA29490@mwanda> <20190424142743.GC20974@lst.de> <3142dc82-1d4c-5f01-678e-628038d86bd6@mev.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3142dc82-1d4c-5f01-678e-628038d86bd6@mev.co.uk> Sender: linux-kernel-owner@vger.kernel.org To: Ian Abbott Cc: Christoph Hellwig , Dan Carpenter , Jiri Slaby , Marek Szyprowski , Robin Murphy , iommu@lists.linux-foundation.org, "kernel-janitors@vger.kernel.org H Hartley Sweeten" , Greg Kroah-Hartman , linux-kernel@vger.kernel.org List-Id: iommu@lists.linux-foundation.org On Thu, Apr 25, 2019 at 03:13:49PM +0100, Ian Abbott wrote: > So for comedi_isadma, we can just replace the NULL with a pointer to a > static dummy device with a 24-bit coherent mask? It should be converted to a proper isa_driver, so that it gets a real struct device.