Re: [PATCH] ocxl: make ocxl_class constant

2023-10-25 Thread Frederic Barrat
On 24/10/2023 13:49, 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 Ba

[PATCH] ocxl: make ocxl_class constant

2023-10-24 Thread Greg Kroah-Hartman
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 Cc: Andrew Donnellan Cc: Arnd Bergmann Cc: l