Re: [PATCH] net: lan966x: fix checking for return value of platform_get_irq_byname()

From: patchwork-bot+netdevbpf
Date: Fri Aug 12 2022 - 06:40:33 EST


Hello:

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

On Fri, 12 Aug 2022 11:09:54 +0800 you wrote:
> The platform_get_irq_byname() returns non-zero IRQ number
> or negative error number. "if (irq)" always true, chang it
> to "if (irq > 0)"
>
> Signed-off-by: Li Qiong <liqiong@xxxxxxxxxxxx>
> ---
> drivers/net/ethernet/microchip/lan966x/lan966x_main.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

Here is the summary with links:
- net: lan966x: fix checking for return value of platform_get_irq_byname()
https://git.kernel.org/netdev/net/c/40b4ac880e21

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