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

From: Geert Uytterhoeven

Date: Thu Oct 29 2026 - 04:01:57 EST


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>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds