[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y/U/D0B7MjhAT+7o@bombadil.infradead.org>
Date: Tue, 21 Feb 2023 14:00:47 -0800
From: Luis Chamberlain <mcgrof@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: linux-modules@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] module: make module_ktype structure constant
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@...ssschuh.net>
Thanks! Queued onto modules-next.
Luis
Powered by blists - more mailing lists