diff options
| author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-02-10 10:46:05 +0300 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-02-11 07:47:14 +0300 |
| commit | 2b6c3c1e74e53f370074eb03769c9499aa30c55a (patch) | |
| tree | a08ac43dc09e561026251bd60a943ae8dc332004 /net/lapb/lapb_iface.c | |
| parent | 4782c5d8b972ba26a2558f064601ecff743e0d25 (diff) | |
| download | linux-2b6c3c1e74e53f370074eb03769c9499aa30c55a.tar.xz | |
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 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
