Received: by 2002:a05:7412:d002:b0:f9:9049:d2ea with SMTP id bd2csp52264rdb; Wed, 20 Dec 2023 03:53:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+2bEJ2FViIaxfu3WFQlOoyqjOAwhytSwy5YwmyZw4c6Y+llHkucXVN/UKFE/9QO5VqrAm X-Received: by 2002:a05:6214:3012:b0:67f:1d4f:ae97 with SMTP id ke18-20020a056214301200b0067f1d4fae97mr9652946qvb.116.1703073217744; Wed, 20 Dec 2023 03:53:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703073217; cv=none; d=google.com; s=arc-20160816; b=0ge4dwX/wTBpLZuf3Z50rKfSMQXiHVlWk87tzX7e6Ef6lV1H5nZ+NCqt5Gz/eUJ7Mf fKGt8gTH/5iBjJioAZfV4S6U3hLzH8Ye1b5oIyN7nukRy1VtiGJO55Jwyi2F/AZaSDtw 3Z7FyeaTrtJ3BChiQdIQm2jKcZxrr6kGHHLlJaudBCFVpNv2Rw6FLzAGoKKghfUl40nB StgfWXB3ZXp9Aef57/WtUittdKt3BPbLdKY1KrUDiv9rmMNOWR7htvbIyZeJLposJF+v boMRtcaZP74YOP1Y5mM5KDsa2J1NH4VWkDo1o/rh1Jf8ukyuJ8jhl6UXAVrZFWFdbwF4 EhCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=FEI4m/itDdgSu07Yl0snuk5Vh+KedEjBUM2ryl20JHg=; fh=dU4F+JEbdOXH2/grllkXv+Af/x1Q+bC62VjDMILYsCw=; b=apuIYAcDophNlsBK+OHgg2cdi7u/wHwoJDWpggZSs77NovEC28Uwli8dPhvvF4Yvl3 eNZuNJTlKu+2rIrHH/HD3D5qpKzTFnSkUkVIGE2rALtFgdUOj8PPq4Ea+77Wk9vPNv81 s1ODPoPIke4FE2QbRUzOPFx3QciJmiHKUQWQP3tKJf9KQFPForjnuUhytq8OWfa6pJZI VKF4fbnG2/RU9vGsvZ5obbP2FE1u+gzlaFkqTJGOitqrVTl2lVXL6JGO5HvAHtGqAPjN 5x7qKmGbcuQHhN/2WFU+XsuRDBNLFc+/qWMugCJVcqK4iTOsNdSZw1j5ZOUoYX4J54d9 FwLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6849-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6849-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qb15-20020ad4470f000000b0067eab82617csi27422457qvb.232.2023.12.20.03.53.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 03:53:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6849-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6849-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6849-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 810551C226BB for ; Wed, 20 Dec 2023 11:53:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB69321A0C; Wed, 20 Dec 2023 11:53:32 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org 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 84C8C219F3 for ; Wed, 20 Dec 2023 11:53:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F5DEC433C8; Wed, 20 Dec 2023 11:53:30 +0000 (UTC) Date: Wed, 20 Dec 2023 06:53:27 -0500 From: William Breathitt Gray To: Greg Kroah-Hartman Cc: rafael@kernel.org, linux-kernel@vger.kernel.org, Dave Ertman , Ira Weiny , David Hildenbrand , Oscar Salvador , Kevin Hilman , Ulf Hansson , Len Brown Subject: Re: [PATCH] driver core: mark remaining local bus_type variables as const Message-ID: References: <2023121908-paver-follow-cc21@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lVg+P3289/OofLZ6" Content-Disposition: inline In-Reply-To: <2023121908-paver-follow-cc21@gregkh> --lVg+P3289/OofLZ6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 19, 2023 at 04:35:09PM +0100, Greg Kroah-Hartman wrote: > Now that the driver core can properly handle constant struct bus_type, > change the local driver core bus_type variables to be a constant > structure as well, placing them into read-only memory which can not be > modified at runtime. >=20 > Cc: Dave Ertman > Cc: Ira Weiny > Cc: "Rafael J. Wysocki" > Cc: William Breathitt Gray > Cc: David Hildenbrand > Cc: Oscar Salvador > Cc: Kevin Hilman > Cc: Ulf Hansson > Cc: Len Brown > Signed-off-by: Greg Kroah-Hartman Acked-by: William Breathitt Gray --lVg+P3289/OofLZ6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZYLVtwAKCRC1SFbKvhIj K7OXAQCk4rcHIT+BxL/rELGncaSctWCJJLA6tcXCPeFZCbQcyQD/WZta82DTC7yJ +CdxvAr0WfIBQLgRr5DJbcS9jM1JCQM= =pX/m -----END PGP SIGNATURE----- --lVg+P3289/OofLZ6--