On Tue, Nov 29, 2022 at 5:23 PM Geert Uytterhoeven <geert+renesas@xxxxxxxxx> wrote: > Commit 6c846d026d49 ("gpio: Don't fiddle with irqchips marked as > immutable") added a warning to indicate if the gpiolib is altering the > internals of irqchips. Following this change the following warning is > now observed for the gpio-mpfs driver: > > gpio gpiochip0: (20122000.gpio): not an immutable chip, please consider fixing it! > > Fix this by making the irqchip in the gpio-mpfs driver immutable. > > While at it, drop of the unneeded masking of the hwirq number, as it is > always smaller than the number of GPIOs/interrupts handled by the > controller. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij