Re: [PATCH 1/3] platform/x86: hp: hp_accel: Propagate errors from optional IRQ lookup

From: Andy Shevchenko

Date: Mon Aug 10 2026 - 02:56:05 EST


On Mon, Aug 10, 2026 at 8:26 AM <phucduc.bui@xxxxxxxxx> wrote:
>
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> platform_get_irq_optional() returns a positive IRQ number on success or
> a negative error code on failure. For an optional IRQ, -ENXIO indicates
> that no optional IRQ is available, while other errors should be propagated.
>
> Propagate all error codes returned by platform_get_irq_optional() other
> than -ENXIO.

Please, slow down with these patches.
Always try first a single or maximum a couple of patches of a kind to
see the comments, now you have to reconsider all what you already have
and basically wasted your time (instead of doing this better). See my
other reply in the other thread for the same problem.

--
With Best Regards,
Andy Shevchenko