diff options
author | 2022-11-10 21:47:07 +0800 | |
---|---|---|
committer | 2022-11-24 00:03:20 -0800 | |
commit | 52f7cf70eb8fac6111786c59ae9dfc5cf2bee710 (patch) | |
tree | cae5da64a0965937df57509888e7c5f880715866 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | octeontx2-pf: Add check for devm_kcalloc (diff) | |
download | wireguard-linux-52f7cf70eb8fac6111786c59ae9dfc5cf2bee710.tar.xz wireguard-linux-52f7cf70eb8fac6111786c59ae9dfc5cf2bee710.zip |
net/mlx5: DR, Fix uninitialized var warning
Smatch warns this:
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_table.c:81
mlx5dr_table_set_miss_action() error: uninitialized symbol 'ret'.
Initializing ret with -EOPNOTSUPP and fix missing action case.
Fixes: 7838e1725394 ("net/mlx5: DR, Expose steering table functionality")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions