From: bui duc phuc <redacted>
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 <redacted>
---
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.
drivers/net/ethernet/davicom/dm9000.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
From: Simon Horman <horms@kernel.org> Date: 2026-09-10 10:55:09
On Wed, Sep 09, 2026 at 11:57:37AM +0700, phucduc.bui@gmail.com wrote:
From: bui duc phuc <redacted>
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 <redacted>
---
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.
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:
On Wed, 9 Sep 2026 11:57:37 +0700 you wrote:
From: bui duc phuc <redacted>
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.
[...]