Przeglądaj źródła

[mlx_icmd] Fix compilation error in GCC versions newer than 4.6.4

Signed-off-by: Wissam Shoukair <wissams@mellanox.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Wissam Shoukair 8 lat temu
rodzic
commit
ffd959a1d6

+ 1
- 1
src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c Wyświetl plik

@@ -316,7 +316,7 @@ mlx_icmd_send_command(
316 316
 				)
317 317
 {
318 318
 	mlx_status status = MLX_SUCCESS;
319
-	mlx_uint32 icmd_status;
319
+	mlx_uint32 icmd_status = MLX_FAILED;
320 320
 
321 321
 	if (utils == NULL || data == NULL) {
322 322
 		status = MLX_INVALID_PARAMETER;

Ładowanie…
Anuluj
Zapisz