diff mbox

[infiniband-diags,1/2] consistently type lids and lmcs libibnetdisc

Message ID 1257531261.18550.69.camel@auk31.llnl.gov (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Al Chu Nov. 6, 2009, 6:14 p.m. UTC
None
diff mbox

Patch

diff --git a/infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h b/infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h
index 37de342..e8ceff7 100644
--- a/infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h
+++ b/infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h
@@ -49,8 +49,8 @@  typedef struct ibnd_node {
 	struct ibnd_node *next;	/* all node list in fabric */
 
 	ib_portid_t path_portid;	/* path from "from_node" */
-	int smalid;
-	int smalmc;
+	uint16_t smalid;
+	uint8_t smalmc;
 
 	/* quick cache of switchinfo below */
 	int smaenhsp0;