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

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

From: Paolo Abeni <pabeni@redhat.com>
Date: 2026-08-13 11:33:41
Also in: linux-rdma, lkml

On 8/13/26 11:26 AM, Simon Horman wrote:
quoted
@@ -63,9 +63,9 @@ static inline void mlx5_hv_vhca_destroy(struct mlx5_hv_vhca *hv_vhca)
 {
 }
 
-static inline int mlx5_hv_vhca_init(struct mlx5_hv_vhca *hv_vhca)
+static inline void mlx5_hv_vhca_init(struct mlx5_hv_vhca *hv_vhca)
 {
-	return 0;
+	return;
 }
The AI-generated review on netdev-ai [1] points out that the
return; line is unnecessary and inconsistent with surrounding code.
I'll remove the line when I'll apply the patch

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