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 E528C28E08 for ; Fri, 5 Jan 2024 10:26:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hoBok7HT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 684F8C433C8; Fri, 5 Jan 2024 10:26:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704450419; bh=lYtPk7pnl7UFoUPdIHhfhbO5M8cu9gEH+/gq3HHPY9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hoBok7HTiDgbbdG4kCE6da/L0ZXhRPtPPJELfWvyzhLfSDZ9UEmawVkpkt5JY2yL7 kkaigUwqCqnM80HdziRzpjoIdE9gNHSxh8dncVwcM0th3vLymICJYEax8onjVyA9nQ Gj1XIhzdWOL7IO7btWv1NP9NJAiGcn5CjuQIG7yAJz2mSzBfTAY8dz2rttsiBVMuGU Gm0/w9IbB5HigZb8TRP2yBKyjQRADUaOjYjxIQe+gZo8+yZqpXA7Gh7MDmSHX4MTVY lHbP3YCFek84orBlwWu2AbCgXESHk6UKY58gARwYT4Wg+ZtQ9A8DhU22ad2h/rwVVx s8ZUlw2DApOPg== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rLhPl-0002zL-0z; Fri, 05 Jan 2024 11:26:58 +0100 Date: Fri, 5 Jan 2024 11:26:57 +0100 From: Johan Hovold To: Greg Kroah-Hartman Cc: greybus-dev@lists.linaro.org, linux-kernel@vger.kernel.org, Alex Elder Subject: Re: [PATCH] greybus: make greybus_bus_type const Message-ID: References: <2024010517-handgun-scoreless-05e7@gregkh> 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: <2024010517-handgun-scoreless-05e7@gregkh> On Fri, Jan 05, 2024 at 11:16:17AM +0100, Greg Kroah-Hartman wrote: > Now that the driver core can properly handle constant struct bus_type, > move the greybus_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Johan Hovold > Cc: Alex Elder > Cc: greybus-dev@lists.linaro.org > Signed-off-by: Greg Kroah-Hartman Reviewed-by: Johan Hovold