[PATCH] cxl: make cxl_class constant

Michael Ellerman mpe at ellerman.id.au
Fri Oct 27 21:47:16 AEDT 2023


Greg Kroah-Hartman <gregkh at linuxfoundation.org> writes:
> 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.

Ack.

cheers


More information about the Linuxppc-dev mailing list