RE: [PATCH net v5 2/2] net: fec: Handle optional IRQ lookup errors correctly
From: Wei Fang
Date: Wed Sep 09 2026 - 04:03:16 EST
> Handle errors from platform_get_irq_byname_optional() explicitly while
> preserving the existing fallback to platform_get_irq() when the named IRQ
> is not available.
>
> Propagate errors other than -ENXIO from the optional IRQ lookup instead
> of silently falling back to the indexed IRQ lookup.
>
> In particular, silently ignoring -EPROBE_DEFER can cause the driver to
> continue probing instead of deferring as required.
>
> Fixes: 3b56be218f65 ("net: fec_main: Use platform_get_irq_byname_optional()
> to avoid error message")
> Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>
Reviewed-by: Wei Fang <wei.fang@xxxxxxx>