From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C1A7C05027 for ; Tue, 14 Feb 2023 14:22:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233311AbjBNOW2 (ORCPT ); Tue, 14 Feb 2023 09:22:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233408AbjBNOWS (ORCPT ); Tue, 14 Feb 2023 09:22:18 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DACCC2B09E; Tue, 14 Feb 2023 06:21:49 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id 1C13A68BFE; Tue, 14 Feb 2023 15:11:43 +0100 (CET) Date: Tue, 14 Feb 2023 15:11:42 +0100 From: Christoph Hellwig 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-ia64@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, sparclinux@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org Subject: Re: [PATCH] dma-mapping: no need to pass a bus_type into get_arch_dma_ops() Message-ID: <20230214141142.GA14060@lst.de> References: <20230214140121.131859-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230214140121.131859-1-gregkh@linuxfoundation.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org 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