From: Christoph Hellwig Subject: Re: [PATCH] dma-mapping: no need to pass a bus_type into get_arch_dma_ops() Date: Tue, 14 Feb 2023 15:11:42 +0100 Message-ID: <20230214141142.GA14060@lst.de> References: <20230214140121.131859-1-gregkh@linuxfoundation.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20230214140121.131859-1-gregkh@linuxfoundation.org> List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Matt Turner , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Arnd Bergmann , Konrad Rzeszutek Wilk , linux-alpha@vger.kernel.org, linux-ia6 On Tue, Feb 14, 2023 at 03:01:21PM +0100, Greg Kroah-Hartman wrote: > The get_arch_dma_ops() arch-specific function never does anything with > the struct bus_type that is passed into it, so remove it entirely as it > is not needed. Yes. (and eventually get_arch_dma_ops should go away entirely, but that's a separate story). > Note: Unless someone objects, I would like to take this through the > driver-core tree, as further bus_type cleanups depend on it, and it's > stand-alone from everyone else's tree at the moment from what I can > determine. Please do! Acked-by: Christoph Hellwig