Re: [PATCH RFC 2/5] vringfd base/offset

From: Rusty Russell
Date: Sat Apr 05 2008 - 23:24:30 EST


On Sunday 06 April 2008 03:18:59 Anthony Liguori wrote:
> Rusty Russell wrote:
> > - if (unlikely(get_user(head, &vr->ring.avail->ring[head]) != 0))
> > +
> > + if (unlikely(get_user(head, &vr->ring.avail->ring[vr->last_avail
> > + % vr->ring.num])))
>
> Why not & with vr->mask for the sake of consistency with the rest of the
> code.

Thanks, fixed.

Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/