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 481F16E2A9 for ; Mon, 5 Feb 2024 19:03:17 +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=1707159798; cv=none; b=ttJF5V3El/HefBYB9OCdiN6Rhk97eMY2rnIHTctV/gMCeJTfJx1EBVYHlQdfdev5bfzjE5uwmolLQvx3bJza5vedgmWK1/uB9qAuaL85FYPWgzWOn5kVnZ+tIhq3eznBFHUZwD9a2pJOFOB5Cs6Mc9HH76OsZj5nA/Z0OPHYI3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159798; c=relaxed/simple; bh=SaE5fyHUUm1NkAMFFfv91SoNo9DgaZQmpck7+KsBLoQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qsNvuYrq8f6mcm8HNuWdNIw73QPHRaUNWI/7K8WnlVFop5UitE6TOxzVl/YOjSHl3CS1mA84rpAf4YBGYdWPVr6a/oeejgdvSap9XDxsNw3G+9Ebn+UiHcWEeQiNdAXb7Az0velGO4h+kI+LZ9RMwbfTUweXlhP4FgTkGI/cXo8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=j5++kWgn; 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="j5++kWgn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 668ABC433F1; Mon, 5 Feb 2024 19:03:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159797; bh=SaE5fyHUUm1NkAMFFfv91SoNo9DgaZQmpck7+KsBLoQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j5++kWgnxaXI2QcoFxVzvNTkk1Mni7jEFGHLP6JvhYnwivwHHZxzeFegvBhrWwbNK VZmffFwIpQ1yIbO2n3Sau+hFeGKGDR22tBUkHMZD5LDftAcj8dEGxJpRoLHdEqgQBn ortESrhbeIBw+XCppDuIeK/cmJwCvlXcpPpAfW+c= Date: Mon, 5 Feb 2024 04:47:16 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Sudip Mukherjee , linux-kernel@vger.kernel.org Subject: Re: [PATCH] parport: make parport_bus_type const Message-ID: <2024020510-october-lividly-83fa@gregkh> References: <20240204-bus_cleanup-parport-v1-1-e6a0f756bbb8@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-parport-v1-1-e6a0f756bbb8@marliere.net> On Sun, Feb 04, 2024 at 05:25:51PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the parport_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