Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp80152rdh; Tue, 13 Feb 2024 09:58:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW9W9kE0iDJKm1xMkof/SvMmiiOB7I+cksuR9cStq2df5E7lQ1C0mvlbvcVfE8gMDwASIOoFNdKDcF2+A/mCfW30+a20NYpYjHEWHVuEg== X-Google-Smtp-Source: AGHT+IG6dNAy6q9vFeNyqmkvOgocogJkAXTyiRW2UVbCzEPkUDOUWfXWtUHab2UVWh+sDF5Wmjm8 X-Received: by 2002:a17:902:c412:b0:1da:2a50:cc0c with SMTP id k18-20020a170902c41200b001da2a50cc0cmr230120plk.22.1707847128934; Tue, 13 Feb 2024 09:58:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707847128; cv=pass; d=google.com; s=arc-20160816; b=deCvNkZs+yNViLAUnVC6h12huQUuAS8HaDJe9pmEthDQjpBbOfv07fmuIUjITmz9CW x7EH/tYcTS14Ij828Jpv7rBTCRPSoLOpiQpRfQaTkLwCu3SslmTxjn9G0t4sCLeQ0EGK k6sTLzfMm0ihX6jFIMlGsmWbgGqJFRbUBdZPGSLT4VCT2FtJP35woK33gBzAq2I7vNP5 18Eg7GiZEvGECents8RlZ2+kwicm6oxtLWswcjRgZTjtTZ/XQMP+HZWI18S20WpAnAd1 iUGLYGXLex0KHjlAgQs4kNpxp+A0QD3Qxa7W/H8bwRdun8MRA4N0+MyJqztTC20Qbt3x FTrQ== ARC-Message-Signature: i=2; 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:dkim-signature; bh=c/nt1y/BFYDBGMJgxyN2N9F+hyouajzegDc3SEaPxKM=; fh=NKrvFFYYJe/b9ENOc2Oz4zbiA2Rca5TZHjthyFUtBfA=; b=tQOzQTMVbQ89wtEjPbSbVqxN+GL8ClMMWobBDw3lGOLD962Wqc/VHMM96N4PKZDxUS VXU8v2WTDIcS1tIb7B4eZ1XLyT80f8E/aPkS0q0VeBWTabYEhNbpiQCSOXmsEo5th9lp 75kxsVsxPU2qIhi9iiTOXrl823CbCHTNOyIzgfilvrVvGGbOh0VV7hmFUdW/VuYuCZpK Ma5OZsno07Me2/kkel1dfapAaaJrGMh8ouD+L/agghKwGBCO71mD/QMWBU42opeyEGOo KCtMJSIZ6KbxDehgJPciCYfVBh8Ow3HWSLeRx3ijuwCSLeVsw+YSRm5oD3Q5SfQLFTUg o6cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=L7xE+02+; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-64029-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCVu6EmFkjOCsiPgdkpyFzV/10M/ylC0MT8BWWREshG08bLmhyQz7Yn8mDCjZL7Iu2e6IS756JI48AW5E75FbAml/7xDhBIONYKl19j/Wg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n7-20020a170902e54700b001da2c896129si591329plf.584.2024.02.13.09.58.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 09:58:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64029-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=@linuxfoundation.org header.s=korg header.b=L7xE+02+; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-64029-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 B443028E2AF for ; Tue, 13 Feb 2024 17:57:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DCA560EFB; Tue, 13 Feb 2024 17:54:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="L7xE+02+" 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 BFE6460EEB for ; Tue, 13 Feb 2024 17:54:56 +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=1707846896; cv=none; b=Znh/QIMV6v9HkxOy2jvW2kTZ03xJKe6PKnvnfS2+20RTov7DIgd3SRhO0Lz624a9Zb00hMIogi1mMRUImyOdRndy9Yr7Rk8jfHcl3gFkg0E3oewhWKC/heiAN2SZqqbbps4WDC7O3K+mCUxj2gMEsQOGm04UYyVS8rjnQLEOQOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707846896; c=relaxed/simple; bh=O+uwyHXSZkJGTM6D+Jts/tuT9zkZbdhkWBI4Soow+ic=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cVYtiiKcTPlbVV6DF+sdPBoqYAWplGWnqcELICGfp3MByoHCuVEh4h1KgXO9YO/QWLfrf9FWjZui4gbqyTTKNW7L0jCpLgkw1uaSMpmypy4j2NWRMu+qjdwq0mcmVj8c8tB4LMC9BEmA1lSYpik/+MOJVWW7GrZUQfUXxSIyNzQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L7xE+02+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4ECAC433F1; Tue, 13 Feb 2024 17:54:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707846896; bh=O+uwyHXSZkJGTM6D+Jts/tuT9zkZbdhkWBI4Soow+ic=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L7xE+02+bTSYThELti/fEvgcRkoW/5iH7T8cFS0j6c3qY3T+01xG2Pb/7Cp7OkLxR iS1mhBg+Er2OiE2DLutFPOIwnBCADDtqD65Y7dhyG+M0AIGHKxG+qH6+0TtHf6DPHF sFyBMh7CRTsCq2D34dHg44ZhOs9IZIkxFwg5KeCs= Date: Tue, 13 Feb 2024 18:29:48 +0100 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Alexandre Belloni , linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i3c: Make i3c_bus_type const Message-ID: <2024021344-broaden-underwire-b511@gregkh> References: <20240213-bus_cleanup-i3c-v1-1-403aea18f05a@marliere.net> 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: <20240213-bus_cleanup-i3c-v1-1-403aea18f05a@marliere.net> On Tue, Feb 13, 2024 at 11:37:31AM -0300, Ricardo B. Marliere wrote: > Since commit d492cc2573a0 ("driver core: device.h: make struct > bus_type a const *"), the driver core can properly handle constant > struct bus_type, move the i3c_bus_type variable to be a constant > structure as well, placing it into read-only memory which can not be > modified at runtime. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere > --- Reviewed-by: Greg Kroah-Hartman