infiniband-diags/ibnetdiscover.c: Eliminate blank line when sysimgguid is 0
PATCH 1/1 infiniband-diags/ibnetdiscover.c: Eliminate blank line when sysimgguid is 0
---
src/ibnetdiscover.c +3 -1
@@ -215,7 +215,9 @@ void out_ids(ibnd_node_t * node, int group, char *chname, char *out_prefix)fprintf (f," slot %d" , node->ports[1 ]->remoteport->portnum); } -fprintf (f,"\n" ); +if (sysimgguid || + (group && node->chassis && node->chassis->chassisnum)) +fprintf (f,"\n" ); }uint64_t out_chassis (ibnd_fabric_t * fabric,unsigned char chassisnum)
--
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
Quoted 2 lines · On Wed, 27 Apr 2011 12:48:15 -0700 Hal Rosenstock…
Thanks,applied,
Ira
Quoted 16 lines
---
src/ibnetdiscover.c +3
-1@@ -215,7 +215,9 @@ void out_ids(ibnd_node_t * node, int group, char *chname, char *out_prefix)fprintf (f," slot %d" , node->ports[1 ]->remoteport->portnum); } -fprintf (f,"\n" ); +if (sysimgguid || + (group && node->chassis && node->chassis->chassisnum)) +fprintf (f,"\n" ); }uint64_t out_chassis (ibnd_fabric_t * fabric,unsigned char chassisnum)
Signature · 9 lines
Ira Weiny Math Programmer/Computer Scientist 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