Commit 68ec32d
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: aedd133 ("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>1 parent 5b8631c commit 68ec32d
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5229 | 5229 | | |
5230 | 5230 | | |
5231 | 5231 | | |
5232 | | - | |
| 5232 | + | |
| 5233 | + | |
5233 | 5234 | | |
| 5235 | + | |
5234 | 5236 | | |
5235 | 5237 | | |
5236 | 5238 | | |
| |||
0 commit comments