RE: [PATCH libibmad] dump.c: In mad_dump_linkwidth, output undefined widths

2014-04-19 Thread Weiny, Ira
> > > Based on patch for this for width 0 from Ammar Haj Hamad > > > Some implementations when port is down appear to return a link width of 0 > > Signed-off-by: Hal Rosenstock Thanks applied, Ira > --- > diff --git a/src/dump.c b/src/dump.c > index 7f3ef7d..efe4bc4 100644 > --- a/src/dump

[PATCH libibmad] dump.c: In mad_dump_linkwidth, output undefined widths

2014-04-15 Thread Hal Rosenstock
Based on patch for this for width 0 from Ammar Haj Hamad Some implementations when port is down appear to return a link width of 0 Signed-off-by: Hal Rosenstock --- diff --git a/src/dump.c b/src/dump.c index 7f3ef7d..efe4bc4 100644 --- a/src/dump.c +++ b/src/dump.c @@ -185,7 +185,8 @@ void mad