Re: [PATCH] uacce: make uacce_class constant

From: Zhangfei Gao
Date: Wed Oct 25 2023 - 22:22:10 EST


On Tue, 24 Oct 2023 at 19:50, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> 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: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>
> Cc: Zhou Wang <wangzhou1@xxxxxxxxxxxxx>
> Cc: Arnd Bergmann <arnd@xxxxxxxx>
> Cc: linux-accelerators@xxxxxxxxxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Thanks, Greg

Tested-by: Zhangfei Gao <zhangfei.gao@xxxxxxxxxx>