wfqueue: fix type-incorrect assignment
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 9 Aug 2011 12:37:14 +0000 (08:37 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Aug 2011 09:04:54 +0000 (05:04 -0400)
commit779aaaa65f384a11f332302700dcff4216912cae
tree3fd6eb3d565652b14d3cf8194638f8dbb13b2db2
parentd3f2da6d9419a57ced77414834bc198366a454d6
wfqueue: fix type-incorrect assignment

The "old_tail = q->tail, q->tail = node" assignment in wfqueue
is not type safe; q->tail is a pointer to pointer to node and the
correct value to assign is &node->next.  While the arithmetic is
the same, it is better to be tidy.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/static/wfqueue.h
This page took 0.024251 seconds and 4 git commands to generate.