commit
db903109f0031c831e8fdc95cb7197996e53f46d introduced a regression
in cds_hlist_for_each_entry_safe_2(): incorrect parenthesis assign "e"
to 1, rather than assign "e" to the next pointer, and evaluating the
expression to 1 (comma expression).
Reported-by: Daniel Thibault <Daniel.Thibault@drdc-rddc.gc.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
: cds_hlist_entry((head)->next, __typeof__(*entry), member)); \
(entry != NULL) && (e = (entry->member.next == NULL ? NULL \
: cds_hlist_entry(entry->member.next, \
- __typeof__(*entry), member), 1)); \
+ __typeof__(*entry), member)), 1); \
entry = e)
#endif /* _KCOMPAT_HLIST_H */