From mboxrd@z Thu Jan 1 00:00:00 1970 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--