Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp506436rdh; Tue, 19 Dec 2023 05:46:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFW9v6qnfUht2/8pFoL/GJsPsQuddjlo0W4F3PcN4ZrjD4oeYCy+0TfcEq7pvGkFLYX8x5C X-Received: by 2002:a05:6a20:6a0c:b0:18f:97c:4f36 with SMTP id p12-20020a056a206a0c00b0018f097c4f36mr10593790pzk.66.1702993614795; Tue, 19 Dec 2023 05:46:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702993614; cv=none; d=google.com; s=arc-20160816; b=h3mgQiSnjCcVcJMut5/+wG7LR9YD3nx4inK10U6LQ31O1kHHFou3XRYmF4vOWTusHn drIH8RnGg1obQ052TTZG1qQEZ21F02PGOaXMOZRagNsQ/gOYEMkPp+I8dCKP12IQbjMQ y+j47fP+6JHLSXKlC1NM5pnGUULd6bZxAdW7j8KTi/aYiFHcpV8+2z65jTr0O/UUzGhF GsBl0/b5lWFeew1heefJ9tvzxuOD3XjO7EQBza7Ggg2voZXpBNZnse02R+DR7LBE867e tAEKagqtj0s5ySaE+egILgx/4RXtf8aWeQf0c3Maw2mDlZYDkKk9ILJR8xPbg+A5/H5Q sIzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=uF1Havaz43OvRqmkv4XG89G3Rs0WJfvc3jWZs4RMe8s=; fh=EZ1cVC2YT8xVkqZguqdmb2Un9A+0wj6fiA0B9YQ9Sw8=; b=kBDPAEc6YXf2mHmqlM4RorP49TALysqVFM/mheKyamp/3p/RBTZ43NBEB7jbuN/R5M f0p3xyrXy5VPxraMlW6oq6HM37h2QXhjbXzIvvZJPofSKMoLcxm1+cY+X8YgyliZJ96V MEM5k8IlVeC2HKFYtQzsXzzzmydzGo5H9W8c8VUMrmqCUyU3CSrUNekK3bMqsEGwvL8I bw4+gjdpHrv8wdDoSdsaiC6I+jE+RNdi7/CjV3mBEHzf2KrC+H5qTBMIjcuYQtRuR43v F29FuCm1933PlYnlLg54/2/hTfYXCdnrnP+VpxqyRAOfBH+JiDDA5z/f1a48XMw/T8Mb 1Kdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-5275-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5275-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id y18-20020a634b12000000b005c6259da621si19257572pga.555.2023.12.19.05.46.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 05:46:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5275-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-5275-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5275-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 868CAB224CE for ; Tue, 19 Dec 2023 13:46:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6542199D3; Tue, 19 Dec 2023 13:46:45 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BAC71A587 for ; Tue, 19 Dec 2023 13:46:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 13F2968C4E; Tue, 19 Dec 2023 14:46:38 +0100 (CET) Date: Tue, 19 Dec 2023 14:46:37 +0100 From: Christoph Hellwig To: Greg Kroah-Hartman Cc: hch@lst.de, m.szyprowski@samsung.com, linux-kernel@vger.kernel.org, Robin Murphy , iommu@lists.linux.dev Subject: Re: [PATCH] dma-debug: make dma_debug_add_bus take a const pointer Message-ID: <20231219134637.GA28824@lst.de> References: <2023121941-dejected-nugget-681e@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023121941-dejected-nugget-681e@gregkh> User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Dec 19, 2023 at 02:41:42PM +0100, Greg Kroah-Hartman wrote: > The driver core now can handle a const struct bus_type pointer, and the > dma_debug_add_bus() call just passes on the pointer give to it to the > driver core, so make this pointer const as well to allow everyone to use > read-only struct bus_type pointers going forward. This looks good to me. Do you want me to queue it up or take it with the other constification patches?