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)
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>

No differences found
This page took 0.025669 seconds and 4 git commands to generate.