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