summaryrefslogtreecommitdiffstats
path: root/src/drivers/infiniband
diff options
context:
space:
mode:
authorWissam Shoukair2016-04-05 12:39:08 +0200
committerMichael Brown2016-04-12 14:38:10 +0200
commitffd959a1d6a0e93d57bb6c0f33bbc2792c296e65 (patch)
tree7eabdcf84df58a06d5261f0e9d66c7c6beaca436 /src/drivers/infiniband
parent[efi] Work around broken EFI HII specification (diff)
downloadipxe-ffd959a1d6a0e93d57bb6c0f33bbc2792c296e65.tar.gz
ipxe-ffd959a1d6a0e93d57bb6c0f33bbc2792c296e65.tar.xz
ipxe-ffd959a1d6a0e93d57bb6c0f33bbc2792c296e65.zip
[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>
Diffstat (limited to 'src/drivers/infiniband')
-rw-r--r--src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c b/src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c
index e4206739..f7d365de 100644
--- a/src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c
+++ b/src/drivers/infiniband/mlx_utils/src/public/mlx_icmd.c
@@ -316,7 +316,7 @@ mlx_icmd_send_command(
)
{
mlx_status status = MLX_SUCCESS;
- mlx_uint32 icmd_status;
+ mlx_uint32 icmd_status = MLX_FAILED;
if (utils == NULL || data == NULL) {
status = MLX_INVALID_PARAMETER;