Re: [PATCH] thunderbolt: make tb_bus_type const

From: Greg Kroah-Hartman
Date: Tue Dec 19 2023 - 13:17:43 EST


On Tue, Dec 19, 2023 at 08:01:02PM +0200, Mika Westerberg wrote:
> On Tue, Dec 19, 2023 at 04:43:05PM +0100, Greg Kroah-Hartman wrote:
> > Now that the driver core can properly handle constant struct bus_type,
> > move the tb_bus_type variable to be a constant structure as well,
> > placing it into read-only memory which can not be modified at runtime.
> >
> > Cc: Andreas Noever <andreas.noever@xxxxxxxxx>
> > Cc: Michael Jamet <michael.jamet@xxxxxxxxx>
> > Cc: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
>
> Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>
>
> Or you want me to pick it up?
>

I can, thanks!

greg k-h