saquery.c: In print_node_record, change LID print format
PATCH 1/1 saquery.c: In print_node_record, change LID print format
"Standard" for LID printing is unsigned rather than signed decimal
---
src/saquery.c +1 -1
@@ -186,7 +186,7 @@ static void print_node_record(ib_node_record_t * node_record)switch (node_print_desc) {case LID_ONLY :case UNIQUE_LID_ONLY : -printf ("%d\n" ,cl_ntoh16 (node_record->lid)); +printf ("%u\n" ,cl_ntoh16 (node_record->lid));return ;case GUID_ONLY :printf ("0x%016" PRIx64"\n" ,cl_ntoh64 (p_ni->port_guid));
--
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): 530E0752.1000709-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Quoted 9 lines
-----Original Message-----
From: Hal Rosenstock [mailto:[email protected]]
Sent: Wednesday, February 26, 2014 7:25 AM
To: Weiny, Ira
Cc: linux-rdma ([email protected])
Subject: [PATCH infiniband-diags]saquery.c: Inprint_node_record, change LID print format
Quoted 3 lines
"Standard" for LID printing is unsigned rather than signed decimal
Thanks applied,
Ira
--
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