Thread (5 messages) flat view 5 messages, 2 authors, 2026-08-13

Re: [PATCH] net: xilinx: axienet: Propagate errors from optional IRQ lookup

From: Bui Duc Phuc <hidden>
Date: 2026-08-13 02:01:30
Also in: linux-arm-msm, lkml, netdev

Hi Andrew,

Thanks for the feedback.
quoted
lp->eth_irq is assigned from platform_get_irq_optional(), which returns a
positive IRQ number on success or a negative error code on failure.
Therefore, a value of 0 is not possible here, so changing <= 0  to  < 0
is directly related to the error handling described in the commit message.
I think this is a separate change. You can then reference the
documentation, and its example:

https://elixir.bootlin.com/linux/v7.1.8/source/drivers/base/platform.c#L270
I’ll split this change into a separate commit.

Best regards,
Phuc
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help