Re: [PATCH v3 4/7] sysfs: attribute_group: enable const variants of is_visible()
From: Greg Kroah-Hartman
Date: Tue Aug 19 2025 - 07:32:13 EST
On Mon, Aug 11, 2025 at 11:14:30AM +0200, Thomas Weißschuh wrote:
> When constifying instances of struct attribute, for consistency the
> corresponding .is_visible() callback should be adapted, too.
> Introduce a temporary transition mechanism until all callbacks are
> converted.
I count about 600+ users of is_visible() now, how is that going to be
converted? It feels like a lot of churn/work, what's the plan here?
These changes seem a lot more intrusive than the bin_attr ones :(
thanks,
greg k-h