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 5A0F9152BE0; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SLtDPLQU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEA94C43390; 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-fpga@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