Re: [PATCH net v2] net: ethernet: ti: am65-cpsw: fix freeing IRQ in am65_cpsw_nuss_remove_tx_chns()

From: patchwork-bot+netdevbpf
Date: Mon Jan 20 2025 - 05:13:27 EST


Hello:

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

On Thu, 16 Jan 2025 15:54:49 +0200 you wrote:
> When getting the IRQ we use k3_udma_glue_tx_get_irq() which returns
> negative error value on error. So not NULL check is not sufficient
> to deteremine if IRQ is valid. Check that IRQ is greater then zero
> to ensure it is valid.
>
> There is no issue at probe time but at runtime user can invoke
> .set_channels which results in the following call chain.
> am65_cpsw_set_channels()
> am65_cpsw_nuss_update_tx_rx_chns()
> am65_cpsw_nuss_remove_tx_chns()
> am65_cpsw_nuss_init_tx_chns()
>
> [...]

Here is the summary with links:
- [net,v2] net: ethernet: ti: am65-cpsw: fix freeing IRQ in am65_cpsw_nuss_remove_tx_chns()
https://git.kernel.org/netdev/net/c/4395a44acb15

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