Re: [PATCH v5 0/7] sysfs: prepare the constification of struct attribute

From: Greg Kroah-Hartman

Date: Wed Nov 26 2025 - 09:17:32 EST


On Wed, Oct 29, 2025 at 09:12:09AM +0100, Thomas Weißschuh wrote:
> The migration of 'struct attribute' and its related structures and
> macros are more complicated than those for 'struct bin_attribute'.
> Mostly because they are all shared by various custom attribute types.
> Introduce some initial utilities to support the migration.
> These are enough to migrate some specialized attributes atomically or
> those which don't use 'struct attribute' in their callbacks stepwise.
>
> The big outstanding problems are 'struct device_attribute' and
> 'struct kobj_attribute'. These are used everywhere and I'm not yet sure
> about a migration plan.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---

Sorry for the delay, this looks good, now queued up.

greg k-h