[ofa-general] [PATCH] infiniband-diags/src/smpquery.c: fix compiler warning

Ira Weiny weiny2 at llnl.gov
Fri Sep 7 15:19:24 PDT 2007


>From a20eaa1b0743aa1cc0c11372c2a989911cb5bcde Mon Sep 17 00:00:00 2001
From: Ira K. Weiny <weiny2 at llnl.gov>
Date: Fri, 7 Sep 2007 15:10:51 -0700
Subject: [PATCH] infiniband-diags/src/smpquery.c: fix compiler warning


Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
---
 infiniband-diags/src/smpquery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/infiniband-diags/src/smpquery.c b/infiniband-diags/src/smpquery.c
index 55e0b3f..9e25255 100644
--- a/infiniband-diags/src/smpquery.c
+++ b/infiniband-diags/src/smpquery.c
@@ -94,7 +94,7 @@ node_desc(ib_portid_t *dest, char **argv, int argc)
 	int       node_type, l;
 	uint64_t  node_guid;
 	char      nd[IB_SMP_DATA_SIZE];
-	char      data[IB_SMP_DATA_SIZE];
+	uint8_t   data[IB_SMP_DATA_SIZE];
 	char      dots[128];
 	char     *nodename = NULL;
 
-- 
1.5.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-infiniband-diags-src-smpquery.c-fix-compiler-warnin.patch
Type: application/octet-stream
Size: 837 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070907/57d5c3d3/attachment.obj>


More information about the general mailing list