Skip to contentSkip to conversation

infiniband-diags/saquery.c: Display NodeRecord LID in decimal

PATCH Applied Hal Rosenstock 2 participants 2 messages Jan 11, 2013 – Feb 13, 2013 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 infiniband-diags/saquery.c: Display NodeRecord LID in decimal

rather than hex

---

src/saquery.c +1 -1
index bdf5e9a..2c5b465 100644
@@ -146,7 +146,7 @@ static void dump_node_record(void *data)
 	ib_node_info_t *ni = &nr->node_info;
 
 	printf("NodeRecord dump:\n"
-	       "\t\tlid.....................0x%X\n"
+	       "\t\tlid.....................%u\n"
 	       "\t\treserved................0x%X\n"
 	       "\t\tbase_version............0x%X\n"
 	       "\t\tclass_version...........0x%X\n"

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 50F06917.3080706-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

Applied
#2 lore raw
Quoted 4 lines · On Fri, 11 Jan 2013 14:33:43 -0500 Hal Rosenstock…

rather than hex

Thanks, applied,
Ira

Quoted 18 lines

---

src/saquery.c +1 -2
index bdf5e9a..2c5b465 100644
@@ -146,7 +146,7 @@ static void dump_node_record(void *data)
 	ib_node_info_t *ni = &nr->node_info;
 
 	printf("NodeRecord dump:\n"
-	       "\t\tlid.....................0x%X\n"
+	       "\t\tlid.....................%u\n"
 	       "\t\treserved................0x%X\n"
 	       "\t\tbase_version............0x%X\n"
 	       "\t\tclass_version...........0x%X\n"
--

To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 9 lines
Ira Weiny
Member of Technical Staff
Lawrence Livermore National Lab
925-423-8008
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html