From: Ira Weiny Subject: Re: [PATCH infiniband-diags] perfquery.c: Fix dumping of PortSamplesControl Date: Sun, 11 Aug 2013 23:23:20 -0700 Message-ID: <20130811232320.aa3972ee702a0f33d805207f@intel.com> References: <51FAA4BA.7080800@dev.mellanox.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51FAA4BA.7080800-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hal Rosenstock Cc: "linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)" List-Id: linux-rdma@vger.kernel.org On Thu, 1 Aug 2013 14:11:06 -0400 Hal Rosenstock wrote: > > was stopping after CounterSelect10 field as insufficient buffer size for > dumping this attribute. > > Signed-off-by: Hal Rosenstock Thanks, applied, Ira > --- > diff --git a/src/perfquery.c b/src/perfquery.c > index 9a69ee1..112d92c 100644 > --- a/src/perfquery.c > +++ b/src/perfquery.c > @@ -566,7 +566,7 @@ static void vlxmittimecc_query(ib_portid_t * portid, int port, int mask) > > void dump_portsamples_control(ib_portid_t * portid, int port) > { > - char buf[1024]; > + char buf[1280]; > > memset(pc, 0, sizeof(pc)); > if (!pma_query_via(pc, portid, port, ibd_timeout, > -- > 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 -- Ira Weiny -- 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