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 35EBB130E2D; Mon, 5 Feb 2024 19:03:36 +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=1707159816; cv=none; b=jA/XFfPucYFMuXDmOIGEVqag8v616YlGqlanUctYikqoAstuPJnkFawZPuiQ3EhJHQiHjV8/JLOEu8F+aiw1MXeFeQXfLzclS0BDLPIVGWnh0rSG6AL+z5pZ/2pgzgeZZn4Eys87nmzlUrzVFxkqz4zKA/GTUhjQQMEzaV51oQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707159816; c=relaxed/simple; bh=Ic8u8OdBrlVsb2wxHY3E0FseBeWYtpT+d7HwrfY/A10=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hRMtQcZiWhTioBNcaEoPO3jW4616IhPi/l7iprCMcT7i7hL+8bkLndFd7l48M8cRLLMkscI/VH+ECYWu61Z+eQLtN4XFnuNXuPuUtnWzy9HbTDB+82FXnqesCx5q+Bbrel6JrG1eeFfzj/dUSdbMOSjmj62WjvyCKciCWZGPctk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BhYStbx0; 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="BhYStbx0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD580C433F1; Mon, 5 Feb 2024 19:03:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707159816; bh=Ic8u8OdBrlVsb2wxHY3E0FseBeWYtpT+d7HwrfY/A10=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BhYStbx0yV9w/EWSF3cYdw47hFV+Xiq0rIV/A5Mb/8QwFnZHpMqEtv7Y8W2HzHETE c3OX7GXSuW5dHIMMqAB9hiEKyTH/5nsULyLaFty5LF3tqvo1rDDczDWefNdyQRmcUp QxLM5u2C8odgcbc/gEI6VWNWjgl4mgYGgp3W43ls= Date: Mon, 5 Feb 2024 04:48:44 -0800 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: Maxim Levitsky , Alex Dubov , Ulf Hansson , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] memstick: core: make memstick_bus_type const Message-ID: <2024020538-crunchy-jumbo-29cc@gregkh> References: <20240204-bus_cleanup-memstick-v1-1-14809d4405d8@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-memstick-v1-1-14809d4405d8@marliere.net> On Sun, Feb 04, 2024 at 05:05:58PM -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the memstick_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