Re: [PATCH] ixp4xx_eth: fix error check return value of platform_get_irq()

From: patchwork-bot+netdevbpf
Date: Tue Apr 12 2022 - 19:21:53 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 12 Apr 2022 08:51:26 +0000 you wrote:
> From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
>
> platform_get_irq() return negative value on failure, so null check of
> return value is incorrect. Fix it by comparing whether it is less than
> zero.
>
> Fixes: 9055a2f59162 ("ixp4xx_eth: make ptp support a platform driver")
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
>
> [...]

Here is the summary with links:
- ixp4xx_eth: fix error check return value of platform_get_irq()
https://git.kernel.org/netdev/net-next/c/f45ba67eb74a

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