[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230210125817.GR28288@suse.cz>
Date: Fri, 10 Feb 2023 13:58:17 +0100
From: David Sterba <dsterba@...e.cz>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Chris Mason <clm@...com>, Josef Bacik <josef@...icpanda.com>,
David Sterba <dsterba@...e.com>, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] btrfs: make kobj_type structures constant
On Fri, Feb 10, 2023 at 02:13:40AM +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 definitions to prevent
> modification at runtime.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Added to misc-next, thanks.
Powered by blists - more mailing lists