]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix uninitialized variable warning
authorMoshe Tal <moshet@mellanox.com>
Thu, 16 Jul 2020 11:59:30 +0000 (14:59 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 15 Sep 2020 18:59:48 +0000 (11:59 -0700)
commit16c8c808fb3381fb2757a7ab4e537eb4a69bc4e3
tree918f37f6cf5c12746c98078243c25dee5f88269e
parentd407f624d0bfdd5e2f5459297f21259b0b6f20ca
net/mlx5: Fix uninitialized variable warning

Add variable initialization to eliminate the warning
"variable may be used uninitialized".

Fixes: b6c6f90b8988 ("net/mlx5e: Support dump callback in TX reporter")
Signed-off-by: Moshe Tal <moshet@mellanox.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/health.c