Re: [PATCH] lib82596: Fix IRQ check in sni_82596_probe

From: patchwork-bot+netdevbpf
Date: Fri Jan 14 2022 - 06:30:18 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 14 Jan 2022 06:57:24 +0000 you wrote:
> platform_get_irq() returns negative error number instead 0 on failure.
> And the doc of platform_get_irq() provides a usage example:
>
> int irq = platform_get_irq(pdev, 0);
> if (irq < 0)
> return irq;
>
> [...]

Here is the summary with links:
- lib82596: Fix IRQ check in sni_82596_probe
https://git.kernel.org/netdev/net/c/99218cbf81bf

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html