[ofa-general] Re: [PATCH] infiniband-diags/saquery.c: Fix CHECK_AND_SET_VAL macro

Hal Rosenstock hal.rosenstock at gmail.com
Sun Aug 16 03:56:37 PDT 2009


On Sun, Aug 16, 2009 at 6:41 AM, Sasha Khapyorsky <sashak at voltaire.com>wrote:

> On 06:20 Sun 16 Aug     , Hal Rosenstock wrote:
> > On Sun, Aug 16, 2009 at 6:02 AM, Sasha Khapyorsky <sashak at voltaire.com
> >wrote:
> >
> > > On 09:46 Sat 15 Aug     , Hal Rosenstock wrote:
> > > >
> > > > Changed check from > to != since using integer comparison
> > > > and some masks can use full range and hence be negative
> > >
> > > Any example?
> >
> >
> > Pkey for one.
>
> Will you pass negative value of PKey?


Aren't Pkeys 0x8001 - 0xffff valid ?

-- Hal


>
>
> Sasha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090816/64bcb560/attachment.html>


More information about the general mailing list