Thread (4 messages) flat view 4 messages, 4 authors, 3d ago

Re: [PATCH net-next] net/mlx5: rsc_dump and hv_vhca return NULL on create error

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-08-13 11:41:05
Also in: linux-rdma, lkml

Hello:

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

On Tue, 11 Aug 2026 09:16:37 +0300 you wrote:
From: Michael Guralnik <redacted>

All callers of these create functions treat NULL and ERR_PTR as
equivalent error cases. Align the return convention to NULL-on-failure
to simplify the checks at usage sites.

Since its return value is never checked and failure is non-fatal, change
hv_vhca init function to return void.

[...]
Here is the summary with links:
  - [net-next] net/mlx5: rsc_dump and hv_vhca return NULL on create error
    https://git.kernel.org/netdev/net-next/c/03a105c83243

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