浏览代码

[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 9 年前
父节点
当前提交
ffd959a1d6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c

+ 1
- 1
src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c 查看文件

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

正在加载...
取消
保存