From: Mathieu Desnoyers Date: Tue, 20 Apr 2021 20:15:39 +0000 (-0400) Subject: Fix: list.h: use parenthesis around macro parameters, caa_container_of() X-Git-Tag: v0.13.0~11 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=c7f4490afcccb5d27b0f17e99ea782b21449e27b;hp=c7f4490afcccb5d27b0f17e99ea782b21449e27b;p=userspace-rcu.git Fix: list.h: use parenthesis around macro parameters, caa_container_of() The coding style followed across liburcu is to use parenthesis around macro parameters when it would otherwise lead to unexpected results due to priority of operators. Fix list.h to follow this coding style. Use caa_container_of() for cds_list_entry rather than open-code the pointer arithmetic. Signed-off-by: Mathieu Desnoyers Change-Id: I17052dc0418ad205cf262a6e5b91e591c37462cb ---