Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2628112rdb; Mon, 5 Feb 2024 12:19:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXiLb545t1LvYv6jpKBt/mOF4P0PCUF7DVwpZ1YMuL2O82oOS8Dr/dhE1v66BINMp+tdOxq37OJ6a8O8RHxTIDV2JTBeEcJ+w/C7Rouuw== X-Google-Smtp-Source: AGHT+IH6Tjdmv0dIpJaf2FFx8ZPecUt9gLfiod8RO2PkQqt7nxJdFMU1aCzcc9ixr8YeQ7RySFNe X-Received: by 2002:a05:6808:171a:b0:3bf:d26b:3efc with SMTP id bc26-20020a056808171a00b003bfd26b3efcmr1111693oib.0.1707164361043; Mon, 05 Feb 2024 12:19:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707164360; cv=pass; d=google.com; s=arc-20160816; b=ToPBYtf5MAjRS/5joF9e5PtSNIV668+tDcpQtyMCyKDc8iuY4QIh/1GAiSEGK5f4kO TecNV99IuGf7fLPCD9Nj55dGJ8pd0DjgnQIYFNMV/rWx7Sab35ufNUzIlac+wIG6MAt6 TwPBQEp5/clXnppX1sOUMX2RpJ1PsYTaDl27iSdnPc+meJIjE/63jEwT2qV7GDxp2IpY dfa3Pk8vltbstP0yGMwfoEJ5Bt2HLSdzqxQSB2rIsYoazMYeRvEbzEMHZMrXPLhPugrf 6rbbA4LQ5mvodQ4v+fW2rsVLPqbbcFQUX6NrVyOmmAd3d8YLyjiLaEPnKKMozr34cOoO c0IA== 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=Uvky+STMTEmmxMW5SfZEo+r6NgkfKbguODPjXX4IAPo=; fh=ERRTUa04ElZ1C9ZjCXt9Kl6MJ6vqOkRWN/UJpMasEfQ=; b=e4b4k/wUme/o1TxBEBIH3lA0v7PDYmSghswx1ywmiQeZJ+wqy/hcnkH9JQZ8k1tWkp z0eoE0cQTCL2Y5J1vRToEhzARBVioUG8mdqhBvIan7u230xpwIkfyBrT/D8iG9aTWI0+ PICeW/iD7vpL8RZz7lPSCEUgZoaVU0i0HtnWRQsLQGzJvmuZqcFuF5kBrkBr/M2VzUyj AozRfxnqeXu2+JWfomJowr7UwYwZjNTCmJCVvFZqJraoJqjf7+rJB/3GR8Xq5vUxhWx1 KEmVOXkXEWZr5Tx4hiRS3Bv0SLQNHpo78d9S0psHGRKPFMMxjRu6c8mKUVHvmqPFb8Ik 5ejA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SLtDPLQU; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=1; AJvYcCUpvDs0thCIbHw11XAshIE6dqoc7/WdnXxRIVuK6xxeiurC1z0gGpYqBaaqQSKoDMm+Z4KIKDckRVvGOwIABI893BfeocMhjf38r5vX3A== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q1-20020a05622a030100b0042bf3066015si682432qtw.50.2024.02.05.12.19.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 12:19:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-53563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SLtDPLQU; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-53563-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-53563-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AB1401C2517B for ; Mon, 5 Feb 2024 20:19:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EB3517AA01; Mon, 5 Feb 2024 19:04:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SLtDPLQU" 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 6BD40152BE2; Mon, 5 Feb 2024 19:03:54 +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=1707159834; cv=none; b=X9wFa/g3SxXW0njvB/+BKqEcm9Io/37aUZD1q0OVilKdxFpAIfpqirYUCuClcf/layVrLspiT7QlX2JbvLb3o3u/YPWPgK0ldszIb2bLCYaElGrG0wzY1fv+Vm0hnkCIttxuC0wWmBZ147YVdcJDXObJpkK7IrV3TQ48h7tV6UA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159834; c=relaxed/simple; bh=LTQwioxrjD+95dxA1seXx/obCk9ewflk8P0ahzeHFF8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Vw/UbFwW/rq4nv57wIUcYJ3RonkecHZ77YTK5h+b+d2cp7FKCbdNO76jtwerNM8ZUpwkkySdHhig8mqOXMeEQvqUMTvSf7OtmfABF1tDWXlean/PU92UNSx2zWi7L4xmhTSUJpeUVNeldhq6VJT246r4klp++mhVevCv1m0Q1BM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SLtDPLQU; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5020C433B1; Mon, 5 Feb 2024 19:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159834; bh=LTQwioxrjD+95dxA1seXx/obCk9ewflk8P0ahzeHFF8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SLtDPLQUrB0SjUIaGftFD7VcHhyFzu2OvuAsK7v3n3+SeeFsa4t6HepOb191HcRe0 J0SJal4PtP1NE/1ZcCpTDl5fQrbhMR9pEb/tAeZCc9thkhl9t21bXc5U9FazMk8nsD dKv0D2tIGVTwGx7IhAs4pKVIVs0UZhZcHkBcJqOU= Date: Mon, 5 Feb 2024 04:50:05 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fpga: dfl: make dfl_bus_type const Message-ID: <2024020559-floss-appear-5f4d@gregkh> References: <20240204-bus_cleanup-fpga-v1-1-dae8b5bf7220@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: <20240204-bus_cleanup-fpga-v1-1-dae8b5bf7220@marliere.net> On Sun, Feb 04, 2024 at 01:14:05PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the dfl_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