* [PATCH] infiniband-diags/saquery.c: PortInfoRecord now has an options field
@ 2011-07-26 12:18 Hal Rosenstock
0 siblings, 0 replies; only message in thread
From: Hal Rosenstock @ 2011-07-26 12:18 UTC (permalink / raw)
To: Ira Weiny; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
rather than reserved field
This is for coordination with the latest ib_types.h
Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
diff --git a/src/saquery.c b/src/saquery.c
index 88abb39..f82772f 100644
--- a/src/saquery.c
+++ b/src/saquery.c
@@ -300,9 +300,9 @@ static void dump_one_portinfo_record(void *data)
"\tRID:\n"
"\t\tEndPortLid..............%u\n"
"\t\tPortNum.................%u\n"
- "\t\tReserved................0x%x\n"
+ "\t\tOptions.................0x%x\n"
"\tPortInfo dump:\n\t\t%s",
- cl_ntoh16(pir->lid), pir->port_num, pir->resv, buf2);
+ cl_ntoh16(pir->lid), pir->port_num, pir->options, buf2);
}
static void dump_one_mcmember_record(void *data)
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-26 12:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26 12:18 [PATCH] infiniband-diags/saquery.c: PortInfoRecord now has an options field Hal Rosenstock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox