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 4806D633FE; Mon, 5 Feb 2024 19:03:15 +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=1707159795; cv=none; b=PFIjrJIdnrmLhNmwkCEP6648DiBNujC0S3rphxyhLhkskGEuiC9I70F3ZqgCC78fnks21I9Lr5oyuKt2rDPNmw7WT1hsPQz1vE+ZVzPtNSH1tg/5+83sPX+tCOE5iQsoCvugg+8k1YyTXJl8zIMFhH2bl78uZye29R1ES2hvPd8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159795; c=relaxed/simple; bh=x9UpyMNf9RClykFARyBh7yW+2jrk9h8lZION24rm8nI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i4Y+14wgxGloqchRYRkJ08ve2+2pxLZblnpWsVuBJ2twItGoUQceYHmP2On5uVGqoUherIWSQQUbG+hpB7RrEa7Xn7zwLNSYApnx+f6n74PORl7pwjaCmO1cC87kS4Mtye6o02rQinv9ACp7JCVoRNJs24PIaNtC+VfnHyUn7a8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=V2BK15bf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="V2BK15bf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5CC3C43390; Mon, 5 Feb 2024 19:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159795; bh=x9UpyMNf9RClykFARyBh7yW+2jrk9h8lZION24rm8nI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V2BK15bfWoizIhVo9InGQm8YPrknjWcEUig3EpaY+6yyLaZEWnoPYB+ORRNQWWMIv Tix9bWnfIsQR2M6wyE83s9ybAzwLXKiP6iTGRA2+7vx0RZLUsxblJQRYb9YRyclkE+ K+rTHrQWjcbAuh+JXqJpSvMPAjfxWp2U6fPwbgMc= Date: Mon, 5 Feb 2024 04:47:08 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Kishon Vijay Abraham I , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pci: endpoint: make pci_epf_bus_type const Message-ID: <2024020504-unadvised-quizzical-b8c0@gregkh> References: <20240204-bus_cleanup-pci-v1-1-300267a1e99e@marliere.net> Precedence: bulk X-Mailing-List: linux-pci@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: <20240204-bus_cleanup-pci-v1-1-300267a1e99e@marliere.net> On Sun, Feb 04, 2024 at 05:28:58PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the pci_epf_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