Re: [PATCH 1/3] staging: greybus: raw: make raw_class constant

From: Greg Kroah-Hartman
Date: Fri Oct 06 2023 - 09:20:12 EST


On Fri, Oct 06, 2023 at 06:42:00PM +0530, Deepak R Varma wrote:
> On Thu, Oct 05, 2023 at 03:58:34PM +0200, Greg Kroah-Hartman wrote:
> > Now that the driver core allows for struct class to be in read-only
>
> Hello Greg,
> When you say "Now", has anything changed recently that facilitates this
> improvement?

Yes. Well, it showed up in the 6.4 kernel, so not that long ago.

> Where can I read more about this change?

Running:
git log --oneline --author=gregkh v6.3..v6.4 drivers/base/
will show you the some of work that happened here to make this possible.
There was work done to the driver core, and the kobject core in earlier
kernel releases that the changes in 6.4 built on top of.

thanks,

greg k-h