Re: [PATCH] gpio: aggregator: constify struct configfs_attribute

From: Bartosz Golaszewski

Date: Thu Oct 29 2026 - 04:41:10 EST


On Thu, 29 Oct 2026 08:57:15 +0100, Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> said:
> Hi Bartosz,
>
> Thanks for your patch!
>
> On Wed, 21 Oct 2026 at 14:31, Bartosz Golaszewski
> <bartosz.golaszewski@xxxxxxxxxxxxxxxx> wrote:
>> In preparation for the constification of configfs attributes, make the
>> existing instances of struct configfs_attribute in gpio-aggregator const
>> and use the new st_attrs_const field of struct config_item_type.
>
> This has a hard dependency on commit f7528cd38b87fb59 ("configfs:
> Allow the registration of const struct configfs_attribute"), which is
> not yet in gpio/for-next, thus breaking your build.
>
>> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
>
> Since you have to rebase anyway ;-)
> Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
>

Ah, dang it. :( I stupidly assumed it must be in mainline when Thomas
recommended it. :(

Thomas: Unless there's an immutable branch I could pull, I'll need to back all
of them out of my branch and have them wait for the next cycle I suppose?

Bart