On Sun, May 16, 2010 at 11:46:29AM -0700, Steven Dake wrote: > good for merge > Committed.
> On Sun, 2010-05-16 at 18:40 +1000, Angus Salkeld wrote: > > sq_position is unsigned. > > > > Signed-off-by: Angus Salkeld <asalk...@redhat.com> > > --- > > include/corosync/sq.h | 1 - > > 1 files changed, 0 insertions(+), 1 deletions(-) > > > > diff --git a/include/corosync/sq.h b/include/corosync/sq.h > > index 99f953b..aa5bc1e 100644 > > --- a/include/corosync/sq.h > > +++ b/include/corosync/sq.h > > @@ -261,7 +261,6 @@ static inline unsigned int sq_item_get ( > > // sq_position = (sq->head - sq->head_seqid + seq_id) % sq->size; > > //printf ("sq_position = %x\n", sq_position); > > //printf ("ITEMGET %d %d %d %d\n", sq_position, sq->head, sq->head_seqid, > > seq_id); > > -assert (sq_position >= 0); > > if (sq->items_inuse[sq_position] == 0) { > > return (ENOENT); > > } _______________________________________________ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais