[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGH8bx40HJdwf23GFZbbnUa0CsFEXjOod9ea1bWOvm-Uqpt6iQ@mail.gmail.com>
Date: Tue, 6 Feb 2024 11:37:26 +0100
From: Johannes Thumshirn <jth@...nel.org>
To: "Ricardo B. Marliere" <ricardo@...liere.net>
Cc: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] mcb: make mcb_bus_type const
On Sun, Feb 4, 2024 at 9:02 PM Ricardo B. Marliere <ricardo@...liere.net> wrote:
>
> Now that the driver core can properly handle constant struct bus_type,
> move the mcb_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 <gregkh@...uxfoundation.org>
> Suggested-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Signed-off-by: Ricardo B. Marliere <ricardo@...liere.net>
Looks good,
Reviewed-by: Johannes Thumshirn <jth@...nel.org>
Powered by blists - more mailing lists