Thread (2 messages) 2 messages, 2 authors, 2025-11-05

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-11-05 03:40:34
Also in: linux-arm-kernel, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help