diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-11-14 14:52:23 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2020-11-17 22:50:54 +0300 |
commit | 68ec32daf7d50a9f7425f8607a7402c13aa0c587 (patch) | |
tree | df19fc020aa20245f169f06b604a410a2c5aa912 /drivers/net/dsa/bcm_sf2_cfp.c | |
parent | 5b8631c7b21ca8bc039f0bc030048973b039e0d2 (diff) | |
download | linux-68ec32daf7d50a9f7425f8607a7402c13aa0c587.tar.xz |
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/dsa/bcm_sf2_cfp.c')
0 files changed, 0 insertions, 0 deletions