Re: [PATCH 2/4] ipmi: bt-bmc: Handle -ENXIO from optional IRQ lookup
From: Bui Duc Phuc
Date: Mon Aug 17 2026 - 11:09:12 EST
On Mon, Aug 17, 2026 at 6:40 PM Corey Minyard <corey@xxxxxxxxxxx> wrote:
>
> On Mon, Aug 17, 2026 at 05:50:39PM +0700, phucduc.bui@xxxxxxxxx wrote:
> > From: bui duc phuc <phucduc.bui@xxxxxxxxx>
> >
> > platform_get_irq_optional() can return -ENXIO when no IRQ resource is
> > available, as well as other negative error codes.
> >
> > The probe path supports running without an IRQ by falling back to
> > the timer. Treat -ENXIO as the no-IRQ case while propagating other
> > errors to the caller.
>
> This is obviously wrong, it will pass -ENXIO into devm_request_irq()
> if returned.
>
No. This is addressed in the following patch:
[PATCH 3/4] ipmi: bt-bmc: Request IRQ only when available
https://lore.kernel.org/all/20260817105041.63224-3-phucduc.bui@xxxxxxxxx/
Please take a look at the subsequent patches in the series as well.
Best regards,
Phuc