Messages in this thread | | | Subject | Re: [PATCH] net: lan966x: fix checking for return value of platform_get_irq_byname() | From | patchwork-bot+netdevbpf@kernel ... | Date | Fri, 12 Aug 2022 10:40:13 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
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@nfschina.com> > --- > 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
| |