Re: [PATCH v1 1/1] gpio: sch: make irq_chip immutable

From: Andy Shevchenko
Date: Thu Jun 02 2022 - 07:45:54 EST


On Wed, Jun 01, 2022 at 07:19:22PM +0200, Bartosz Golaszewski wrote:
> On Wed, Jun 1, 2022 at 5:37 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> >
> > Since recently, the kernel is nagging about mutable irq_chips:
> >
> > "not an immutable chip, please consider fixing it!"
> >
> > Drop the unneeded copy, flag it as IRQCHIP_IMMUTABLE, add the new
> > helper functions and call the appropriate gpiolib functions.

> Reviewed-by: Bartosz Golaszewski <brgl@xxxxxxxx>

Thanks!

I think I will collect all of these and send a PR after v5.19-rc1
to be included into v5.19-rc2+. Tell me if you think differently.

--
With Best Regards,
Andy Shevchenko