RE: [PATCH] mei: bus: constify the struct mei_cl_bus_type usage

From: Winkler, Tomas
Date: Tue Apr 23 2024 - 16:05:36 EST




> -----Original Message-----
> From: gregkh@xxxxxxxxxxxxxxxxxxx <gregkh@xxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, April 23, 2024 10:57 PM
> To: Winkler, Tomas <tomas.winkler@xxxxxxxxx>
> Cc: Kunwu Chan <chentao@xxxxxxxxxx>; arnd@xxxxxxxx;
> kunwu.chan@xxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] mei: bus: constify the struct mei_cl_bus_type usage
>
> On Tue, Apr 23, 2024 at 07:45:08PM +0000, Winkler, Tomas wrote:
> >
> > >
> > > Now that the driver core can properly handle constant struct
> > > bus_type, move the mei_cl_bus_type variable to be a constant
> > > structure as well, placing it into read-only memory which can not be
> modified at runtime.
> > >
> > > Signed-off-by: Kunwu Chan <chentao@xxxxxxxxxx>
Acked-by: Tomas Winkler <tomas.winkler@xxxxxxxxx>
> > LGTM
> Can you provide a "Acked-by:"?