Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3117336rdb; Tue, 6 Feb 2024 07:39:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhK6itRblcyYwA76mQc7X/j2DScgsNOV2evfc8Z17Vs0Uc8aVtenX6jO7x5IqVs5Ozuv89 X-Received: by 2002:a05:6a20:4310:b0:19c:99f1:bd5 with SMTP id h16-20020a056a20431000b0019c99f10bd5mr2293708pzk.11.1707233956169; Tue, 06 Feb 2024 07:39:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707233956; cv=pass; d=google.com; s=arc-20160816; b=m5LsVBEpZoS4wgsO4dK8mWCuiZOMSbEFVZVWja8cki0Gngtw7l5zDBIGhokx5xBHp3 WDfT5EEgrjpjoPeScy7B6wK4LfHCTm71PiBCfNQNg0Obcop/9OD1cJ0+svzZIqM0i9Z+ yzZbe5GDlZKowM0nGYqe7x7tbkW6f89cLPhQLnhV5dU3+mH2dnJltHDT8Pxil7jP3KGD ayAYJjZMA1hr5Ukv/TWTCgMhFL3Wz22R1VqYZxOwD7eshUTYSJeMf0nCGqcnLCS+rt0o uAI3jbN9TZp2lIYbwUCPTnFGf7m7c/7DYwrS8ybkG5xe2Z3ZCx7DqKWyJbOk8OktuROA 80iA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from; bh=6diM8LOS1g8L/6Gm3kTbS1QDUKM1mZPdLJplawHu2+A=; fh=r6wNNl54KablAetHKPjSpXo6LbkNJN0SIHvMYs7KkjY=; b=hkMAHuhN8NpL9ERK2Xbiuw4InV8kEX82c3A5cgJSYwbHF1N67swzqXwtiEK6oQzAfq A8Y8FDRNjJBjASKIemuu5WCMuf6RCFrGnwlLajfG/HAbGj9ke7XtafuOEy6AHZcJV4Vv rw3yd4X8aX7M8c6Hq5SLSvmBxx53IT4x/f2itpn3BkQjKS9sTzX0EDHMKgEviyvgeS+m A+W3XsSx9gZ6rYYPB/9RiWd9Og1lV5hUkFk2CUmeBC1ojgnCYUVWZE7MLtggVJ+L/l+D J2hBARDSYfuTqjNWGAc9Px/CUZISepQwJhqlGq/yfz4FRBM9UVnJcSfOty8BkXsVI3jd AIqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-55248-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55248-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=1; AJvYcCWppYX1qjK1O43ksUYn2oe5dbcOGMVVJeO3egyEqkfquTuLpAhoI6aGdJoMuDRpE37Hpmf8lwD3jpYeIh2dcH5WxaXmzw8QMwxNKIm5HA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o13-20020a635d4d000000b005d988899a3csi1848704pgm.486.2024.02.06.07.39.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 07:39:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55248-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-55248-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55248-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 82C1328AFEF for ; Tue, 6 Feb 2024 15:34:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7604C1339A9; Tue, 6 Feb 2024 15:34:20 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F41FB1332BC for ; Tue, 6 Feb 2024 15:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707233660; cv=none; b=aaKq8sYlMLQTISGcwKMNFROJQr2CKF7V9YRwjEYmETdU7subZ3BGZ+q5RTF7yNHBkxGU0ZPl2kSq8NKkdBhVJh+jWA75nq4HvXED5XDIFXcPGdUtg1xfvL98cik+Z9jwcpeL/bbF0nuB/OWzOwBuAWwp/i8bDbilX+aozLV9KVc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707233660; c=relaxed/simple; bh=SjO8eaWp+Pka7A7XYgCKH8eNO0wLeSoBwCwAPqpEEK4=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=mlcle+EZI+ajCh1wFweW6oyIwenFZivl498VWYlE9McbDR4W7TIl1VEJedh4WI2y96U9YP85yIUm77ATSca4OR79MQLr5ZTBU+R+LmbP4drMHrdwcgP5d/lURYFl+R/jdPE5EyfH5y8oxdU7QBnnaezMetPept5w6smA+tQ3D1E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56F6BC433F1; Tue, 6 Feb 2024 15:34:19 +0000 (UTC) Received: by mercury (Postfix, from userid 1000) id ECD0B1060761; Tue, 6 Feb 2024 16:34:16 +0100 (CET) From: Sebastian Reichel To: Sebastian Reichel , "Ricardo B. Marliere" Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman In-Reply-To: <20240204-bus_cleanup-hsi-v1-1-f9318131e842@marliere.net> References: <20240204-bus_cleanup-hsi-v1-1-f9318131e842@marliere.net> Subject: Re: [PATCH] hsi: hsi_core: make hsi_bus_type const Message-Id: <170723365691.255815.3681356681345738613.b4-ty@collabora.com> Date: Tue, 06 Feb 2024 16:34:16 +0100 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.4 On Sun, 04 Feb 2024 13:32:13 -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the hsi_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Applied, thanks! [1/1] hsi: hsi_core: make hsi_bus_type const commit: a0e35a173a86d93040d0e08f9c38526b6cf6c1d1 Best regards, -- Sebastian Reichel