Re: [PATCH] cxl: make cxl_class constant

From: Michael Ellerman
Date: Fri Oct 27 2023 - 06:47:26 EST


Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
>> > Cc: Andrew Donnellan <ajd@xxxxxxxxxxxxx>
>> > Cc: Arnd Bergmann <arnd@xxxxxxxx>
>> > Cc: linuxppc-dev@xxxxxxxxxxxxxxxx
>> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>> > ---
>>
>> Thanks!
>> Acked-by: Frederic Barrat <fbarrat@xxxxxxxxxxxxx>
>
> Thanks for the review of these, I'll take them through my char/misc tree
> now.

Ack.

cheers