From: Paolo Bonzini Date: Tue, 9 Aug 2011 12:37:14 +0000 (-0400) Subject: wfqueue: fix type-incorrect assignment X-Git-Tag: v0.6.5~52^2~5 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=779aaaa65f384a11f332302700dcff4216912cae;hp=779aaaa65f384a11f332302700dcff4216912cae;p=urcu.git 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 Signed-off-by: Mathieu Desnoyers ---