Re: linux-next: build failure after merge of the gpio-brgl tree

From: Bui Duc Phuc

Date: Wed Sep 02 2026 - 08:46:10 EST


Hi Mark,

Thanks for the report.

>
> /tmp/next/build/drivers/gpio/gpio-altera.c: In function 'altera_gpio_probe':
> /tmp/next/build/drivers/gpio/gpio-altera.c:224:21: error: 'irq' undeclared (first use in this function); did you mean 'girq'?
> 224 | if (irq != -ENXIO)
> | ^~~
> | girq
>

This was my mistake.
This issue was caused by using 'irq' instead of 'mapped_irq' in
altera_gpio_probe().
I haven't encountered this situation before. Should I send a v2 with this fix,
or should I send a separate patch to fix it?

Best regards,
Phuc