Re: [PATCH] livepatch: Make kobj_type structures constant
From: Petr Mladek
Date: Thu Mar 09 2023 - 05:52:33 EST
On Fri 2023-02-17 03:14:41, Thomas Weißschuh wrote:
> Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
> the driver core allows the usage of const struct kobj_type.
>
> Take advantage of this to constify the structure definitions to prevent
> modification at runtime.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
JFYI, the patch has been comitted into livepatching.git,
branch for-6.4/core.
Best Regards,
Petr