On 08:10 Wed 10 Jun , Sean Hefty wrote: > Signed-off-by: Sean Hefty <[email protected]>
This patch is malformed (see below), so I applied the original. Thanks. Sasha > --- > I tried converting ib_portid_t lid to a uint16_t, but that resulted in a > cascade > of changes, so I kept the simple approach. :) > > Resending - I didn't see a response to this. > > infiniband-diags/libibnetdisc/src/ibnetdisc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/infiniband-diags/libibnetdisc/src/ibnetdisc.c > b/infiniband-diags/libibnetdisc/src/ibnetdisc.c > index 1e93ff8..baea98e 100644 > --- a/infiniband-diags/libibnetdisc/src/ibnetdisc.c > +++ b/infiniband-diags/libibnetdisc/src/ibnetdisc.c > @@ -188,7 +188,7 @@ extend_dpath(struct ibnd_fabric *f, ib_portid_t *portid, > int > nextport) ^^^ line break > f->fabric.ibmad_port) < 0) > return -1; > > - portid->drpath.drslid = f->selfportid.lid; > + portid->drpath.drslid = (uint16_t) f->selfportid.lid; > portid->drpath.drdlid = 0xFFFF; > } > > > > > _______________________________________________ > ofw mailing list > [email protected] > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw > _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
