diff options
author | 2021-02-10 07:46:05 +0000 | |
---|---|---|
committer | 2021-02-10 20:47:14 -0800 | |
commit | 2b6c3c1e74e53f370074eb03769c9499aa30c55a (patch) | |
tree | a08ac43dc09e561026251bd60a943ae8dc332004 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | net/mlx5: Fix a NULL vs IS_ERR() check (diff) | |
download | wireguard-linux-2b6c3c1e74e53f370074eb03769c9499aa30c55a.tar.xz wireguard-linux-2b6c3c1e74e53f370074eb03769c9499aa30c55a.zip |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions