Re: [PATCH 1/1] gpio: vf610: make irq_chip immutable

From: Linus Walleij
Date: Wed Feb 15 2023 - 05:19:54 EST


On Tue, Feb 14, 2023 at 8:36 AM Alexander Stein
<alexander.stein@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.
>
> Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>

Looks good to me, CC to Marc Z.

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

We fixed quite a few of these now, Marc do you have an idea about
how much we have left until we can make immutable the default?

Yours,
Linus Walleij