[PATCH V4] net: ethernet: ti: netcp: Standardize knav_dma_open_channel to return NULL on error

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Tue Nov 4 19:40:08 PST 2025


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Mon, 3 Nov 2025 10:28:11 -0600 you wrote:
> Make knav_dma_open_channel consistently return NULL on error instead
> of ERR_PTR. Currently the header include/linux/soc/ti/knav_dma.h
> returns NULL when the driver is disabled, but the driver
> implementation does not even return NULL or ERR_PTR on failure,
> causing inconsistency in the users. This results in a crash in
> netcp_free_navigator_resources as followed (trimmed):
> 
> [...]

Here is the summary with links:
  - [V4] net: ethernet: ti: netcp: Standardize knav_dma_open_channel to return NULL on error
    https://git.kernel.org/netdev/net/c/90a88306eb87

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





More information about the linux-arm-kernel mailing list