Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp177652rdb; Tue, 19 Dec 2023 13:01:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHENUAyyyCD1RjtMCtxCCfHQBxaTbE5vI7YFhyjk4jQVJguJ7Dp+7T2+CHueXgW8xyCaPh3 X-Received: by 2002:a05:6870:9a29:b0:203:e0bc:5e11 with SMTP id fo41-20020a0568709a2900b00203e0bc5e11mr3184078oab.70.1703019697122; Tue, 19 Dec 2023 13:01:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703019697; cv=none; d=google.com; s=arc-20160816; b=d4Ac6J7ZLO0LJWlK9lWNFGKkDqVm27AmJ5Fr2SAB5KC4kg/BYamPtjFRAd/nLOEwYm lYP0m5v3awEoP/rMuZs/szAC28Y3UNgMrNNi7V9EMrSmaJiL8prgttyWX2qePFmcQODu ylezEc9WclBZtSbOXXUZEjeL0QnvRd+KjTMUn93ibNCvHhH7QtOXatkvXvE1qJpvIqpo R4hShUHmIXlAplHqjWsWS5hIjUtHZteJvfnl8SMZ9wUKQ0wM9DCuj+NszshlY+VCRnTs 5qW2zdNadmcfm44MkYQoQ4x6xj64j6FGdXrR89zwD1wxoEr13nU4LVi3eTcDmDq7CMUv vtdw== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=lCKCo7ckizVWRpPEUPMezC6c+Ikwd4cEM0GhD64Wcpw=; fh=0hJZxyaRZjHqwR+DHqPDOcLpP9CtOlh2m24C5zgA2zc=; b=Y8tDF7xM3w3EgY3lpUWIazKeDCzlJdbqCe743qdhcWvL8kq+g6kbhVYX4AQTEON/J2 8so9KvXd0sshTRD0YCaZycndvfKaRQU/z3/7rOsqkBtYTVZ0KmHfFJSwiGC/wACFGr32 jWboKL0BO977r5On3DJ0j4dcEl3zUImX5TTfsTuAfLmfMciW/DDzyYhtbpgPBR9YgK8a EsRRmh+YORsCrHC+gFzWrd4ZFPoN8ksr7DjbUPu2Bhhl+OzoqHNREM4/D5XL/K9ObO5R EHjIcIcQi5Al/weQ+PoXEovYO2lw1ZSkCLCpCjz89cNCLudr/IyVX4c0orn6VQFTGaJZ oPMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Pe1h/d2N"; spf=pass (google.com: domain of linux-kernel+bounces-5947-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5947-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a8-20020a056870374800b001fb2bec9fbfsi8121549oak.202.2023.12.19.13.01.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 13:01:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5947-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Pe1h/d2N"; spf=pass (google.com: domain of linux-kernel+bounces-5947-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5947-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5F6BA2839DA for ; Tue, 19 Dec 2023 21:01:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 948FF3A268; Tue, 19 Dec 2023 21:01:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Pe1h/d2N" 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 C1F203A262; Tue, 19 Dec 2023 21:01:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A46BFC433C8; Tue, 19 Dec 2023 21:01:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703019687; bh=lCKCo7ckizVWRpPEUPMezC6c+Ikwd4cEM0GhD64Wcpw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pe1h/d2NiKPz8zQPLeOKd+xemnO6jG6C1KnaaD3bcF5PqRauc/XAqHAYvSx4ELXZ3 JItABcOM2aTcR7CIzxhsuPc63t9NvHYVdnSjb+Bo3h0H1BeGuSAYkAar1XD7toX99K 2pxCq9W11iUUFEALv4fPfM/3qKGSmru0lWmAD/fQzFh+BNYpf19nbTVu+XTsQjuW8F C43FS4U9Xlu4nu0PFOoKUC3pd7QsLnm4gqKF4G0M9Hg0CKBev3hItdsirnG2oZMEC3 s9v6zwq6tveNd70P/UEFE/Hjq/GxtEJrcrxP18nlBN4P2gMNSnn9PU4E3sTgIA2jpL rwKf0FyPEPaSg== Date: Tue, 19 Dec 2023 22:01:23 +0100 From: Wolfram Sang To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Heiko Stuebner , linux-i2c@vger.kernel.org, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH] i2c: make i2c_bus_type const Message-ID: Mail-Followup-To: Wolfram Sang , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Heiko Stuebner , linux-i2c@vger.kernel.org, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org References: <2023121942-jumble-unethical-3163@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="gJv6Wj12fyHLJMkX" Content-Disposition: inline In-Reply-To: <2023121942-jumble-unethical-3163@gregkh> --gJv6Wj12fyHLJMkX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 19, 2023 at 04:22:43PM +0100, Greg Kroah-Hartman wrote: > Now that the driver core can properly handle constant struct bus_type, > move the i2c_bus_type variable to be a constant structure as well, placing > it into read-only memory which can not be modified at runtime. >=20 > Note, the sound/soc/rockchip/rk3399_gru_sound.c also needed tweaking as > it decided to save off a pointer to a bus type for internal stuff, and > it was using the i2c_bus_type as well. >=20 > Cc: Wolfram Sang > Cc: Liam Girdwood > Cc: Mark Brown > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: Heiko Stuebner > Cc: linux-i2c@vger.kernel.org > Cc: linux-sound@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-rockchip@lists.infradead.org > Signed-off-by: Greg Kroah-Hartman Applied to for-next, thanks! --gJv6Wj12fyHLJMkX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmWCBKMACgkQFA3kzBSg Kbbzvw/8DPBh44kdD/FS9nh7venOLDxhoqI+4TPeK6q6PfcV5hYrx5IA0J35w3r4 eYBdFl6McEWJvQnUwhPAj3UAiUcMxNbEIbnBH/HB1OawmqyTlzuLD+c0arONMWEe eWCyBiqadts9huWTsy/WN1BZXDPF/QDzLA5sfn5L7kGbjcVi5iLQWsQ7h5FD06H8 hbYFG+PkejM3XwNKbrY2M+N2nhcJpmpdVKntoHSNE4oF0LSp/FY40zgcTgwW6txX Bd83AYDqwEtKDefGYoYu+FefhdMyiIV7GJhf/A2Tg/Zt1a5Aah5i2dGIb2gmppZr fF6WiElKjh2bSdihivyYviwpidVtzwv2ZQnkLarY+zLKcu2GXv3QrZBzy2zJz3Qd CPuwwLv6MEeue2aEc49LUgsq83AenKmDxUwi37FNBDGhI3WOdC92AZipdqptbES/ Z9yNoJamBfn26kBVq8NyIUjg4XR9eO7WD9GC1q+WgM4hY30KglREC0xL3pJUgGfu mlI+4t2A9k40qEOKSS7l6QdbHq1tcz4bt5NlIU4TBGwiUDdvLgXgo0fhqj9KD3kc +tgdNT8e/ADcIvv0auqyzMjyF3ff/p4WkJxBLeqWEgAA5xvTZEw1qzgzdVPYYOGs WWjco3V8ZTAKy3V8qkX9hsKZIUtuLl1DvdbZMQeSgxTr8aNJMw0= =f8qM -----END PGP SIGNATURE----- --gJv6Wj12fyHLJMkX--