diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-11-14 19:52:23 +0800 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2020-11-17 11:50:54 -0800 |
commit | 68ec32daf7d50a9f7425f8607a7402c13aa0c587 (patch) | |
tree | df19fc020aa20245f169f06b604a410a2c5aa912 /drivers/net/LICENSE.SRC | |
parent | 5b8631c7b21ca8bc039f0bc030048973b039e0d2 (diff) | |
download | linux-68ec32daf7d50a9f7425f8607a7402c13aa0c587.tar.bz2 |
net/mlx5: fix error return code in mlx5e_tc_nic_init()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: aedd133d17bc ("net/mlx5e: Support CT offload for tc nic flows")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/LICENSE.SRC')
0 files changed, 0 insertions, 0 deletions