Thread (2 messages) flat view 2 messages, 2 authors, 2021-02-11

Re: [PATCH net-next] net/mlx5e: Fix error return code in mlx5e_tc_esw_init()

From: Saeed Mahameed <saeed@kernel.org>
Date: 2021-02-11 04:22:06
Also in: linux-rdma

On Wed, 2021-02-10 at 07:46 +0000, Wei Yongjun wrote:
Fix to return negative error code from the mlx5e_tc_tun_init() error
handling case instead of 0, as done elsewhere in this function.

This commit also using 0 instead of 'ret' when success since it is
always equal to 0.

Fixes: 8914add2c9e5 ("net/mlx5e: Handle FIB events to update tunnel
endpoint device")
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>

Applied to net-next-mlx5,

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