Re: [PATCH net-next] net/mlx5: fix uninit value use

From: Saeed Mahameed
Date: Thu Oct 26 2023 - 18:14:42 EST


On 25 Oct 16:50, Przemek Kitszel wrote:
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@xxxxxxxxxx>
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@xxxxxxxxx>


Applied to net-next-mlx5