diff options
author | Przemek Kitszel <przemyslaw.kitszel@intel.com> | 2023-10-25 17:50:50 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-27 01:47:18 +0300 |
commit | 5af8d8ce643478d754ef72fc239466f6ad0e2562 (patch) | |
tree | 0cd08087a8d1a58f0fbced4b3d401d06febb6595 /tools/net | |
parent | ec4c20ca09831ddba8fac10a7d82a9902e96e717 (diff) | |
download | linux-5af8d8ce643478d754ef72fc239466f6ad0e2562.tar.xz |
net/mlx5: fix uninit value use
Avoid use of uninitialized state variable.
In case of mlx5e_tx_reporter_build_diagnose_output_sq_common() it's better
to still collect other data than bail out entirely.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/netdev/8bd30131-c9f2-4075-a575-7fa2793a1760@moroto.mountain
Fixes: d17f98bf7cc9 ("net/mlx5: devlink health: use retained error fmsg API")
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://lore.kernel.org/r/20231025145050.36114-1-przemyslaw.kitszel@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions