[lttng-dev] [PATCH 1/2] urcu: fix comments for cds_list_for_each_prev()
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Thu Dec 20 06:14:00 EST 2012
* Lai Jiangshan (laijs at cn.fujitsu.com) wrote:
> Signed-off-by: Lai Jiangshan <laijs at cn.fujitsu.com>
Merged, thanks!
Mathieu
> ---
> urcu/list.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/urcu/list.h b/urcu/list.h
> index f27ff7b..5d04394 100644
> --- a/urcu/list.h
> +++ b/urcu/list.h
> @@ -141,7 +141,7 @@ cds_list_splice (struct cds_list_head *add, struct cds_list_head *head)
> for (pos = (head)->next; pos != (head); pos = pos->next)
>
>
> -/* Iterate forward over the elements of the list. */
> +/* Iterate backward over the elements of the list. */
> #define cds_list_for_each_prev(pos, head) \
> for (pos = (head)->prev; pos != (head); pos = pos->prev)
>
> --
> 1.7.4.4
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
More information about the lttng-dev
mailing list