On Thu, 7 Jul 2011 09:50:12 -0700
Hal Rosenstock <[email protected]> wrote:

> 
> Need larger buffer for mad_dump_portinfo due to additional extended
> speed fields
> 
> Signed-off-by: Hal Rosenstock

Thanks, applied,
Ira

> ---
> diff --git a/src/saquery.c b/src/saquery.c
> index 7933fec..53ab1b6 100644
> --- a/src/saquery.c
> +++ b/src/saquery.c
> @@ -419,7 +419,7 @@ static void dump_portinfo_record(void *data)
>  
>  static void dump_one_portinfo_record(void *data)
>  {
> -     char buf[2048], buf2[4096];
> +     char buf[2300], buf2[4096];
>       ib_portinfo_record_t *pir = data;
>       ib_port_info_t *pi = &pir->port_info;
>  
> diff --git a/src/smpquery.c b/src/smpquery.c
> index a46bb18..65bb65c 100644
> --- a/src/smpquery.c
> +++ b/src/smpquery.c
> @@ -131,7 +131,7 @@ static char *node_info(ib_portid_t * dest, char **argv, 
> int argc)
>  
>  static char *port_info(ib_portid_t * dest, char **argv, int argc)
>  {
> -     char buf[2048];
> +     char buf[2300];
>       char data[IB_SMP_DATA_SIZE] = { 0 };
>       int portnum = 0;
>  


-- 
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

Reply via email to