Re: [PATCH net-next v3] net: davicom: Propagate wakeup IRQ errors
From: Simon Horman
Date: Thu Sep 10 2026 - 07:10:19 EST
On Wed, Sep 09, 2026 at 11:57:37AM +0700, phucduc.bui@xxxxxxxxx wrote:
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> The wakeup IRQ is optional, but errors from platform_get_irq_optional()
> are currently ignored. Propagate errors from the IRQ lookup, except
> -ENXIO which indicates that the optional IRQ is not available.
>
> Found by manual code inspection.
>
> Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>
> ---
>
> Changes in v2:
> - Add a Fixes: tag.
> Changes in v3:
> - Remove the goto statements for the error paths in request_irq()
> and irq_set_irq_wake().
> - Drop the Fixes: tag as this patch is intended for net-next.
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>