Re: [PATCH] module: make module_ktype structure constant
From: Luis Chamberlain
Date: Tue Feb 21 2023 - 17:00:51 EST
On Sat, Feb 04, 2023 at 05:44:46AM +0000, 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 definition to prevent
> modification at runtime.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Thanks! Queued onto modules-next.
Luis