[PATCH] cxl: make cxl_class constant

Greg Kroah-Hartman gregkh at linuxfoundation.org
Wed Oct 25 20:08:47 AEDT 2023


On Wed, Oct 25, 2023 at 10:16:55AM +0200, Frederic Barrat wrote:
> 
> 
> On 24/10/2023 13:48, Greg Kroah-Hartman wrote:
> > Now that the driver core allows for struct class to be in read-only
> > memory, we should make all 'class' structures declared at build time
> > placing them into read-only memory, instead of having to be dynamically
> > allocated at runtime.
> > 
> > Cc: Frederic Barrat <fbarrat at linux.ibm.com>
> > Cc: Andrew Donnellan <ajd at linux.ibm.com>
> > Cc: Arnd Bergmann <arnd at arndb.de>
> > Cc: linuxppc-dev at lists.ozlabs.org
> > Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> > ---
> 
> Thanks!
> Acked-by: Frederic Barrat <fbarrat at linux.ibm.com>

Thanks for the review of these, I'll take them through my char/misc tree
now.

greg k-h


More information about the Linuxppc-dev mailing list