diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-02-10 07:46:05 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-02-10 20:47:14 -0800 |
commit | 2b6c3c1e74e53f370074eb03769c9499aa30c55a (patch) | |
tree | a08ac43dc09e561026251bd60a943ae8dc332004 /drivers/fpga/fpga-bridge.c | |
parent | 4782c5d8b972ba26a2558f064601ecff743e0d25 (diff) |
net/mlx5e: Fix error return code in mlx5e_tc_esw_init()
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 <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions